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; }