summaryrefslogtreecommitdiff
path: root/lib/Travelynx/Command
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Travelynx/Command')
-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;
}