summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2022-12-27 09:46:15 +0100
committerDaniel Friesel <derf@finalrewind.org>2022-12-27 09:46:15 +0100
commit73fa1a960c6affad0d3131ac62aa961267cdfe7f (patch)
tree5ff4b2869e7966e72eb3d459e8039a7c2d587523
parent68bc276bff544355180437c6bb15e9a495027bab (diff)
work: Fix log invocation1.28.5
-rw-r--r--lib/Travelynx/Command/work.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Travelynx/Command/work.pm b/lib/Travelynx/Command/work.pm
index 811b8f1..e12e5e3 100644
--- a/lib/Travelynx/Command/work.pm
+++ b/lib/Travelynx/Command/work.pm
@@ -57,7 +57,7 @@ sub run {
@{ $status->{results} };
if ( not $train ) {
- $self->log->info(
+ $self->app->log->info(
"could not find train $train_id at $dep\n");
return;
}