diff options
-rw-r--r-- | lib/Travelynx/Command/work.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Travelynx/Command/work.pm b/lib/Travelynx/Command/work.pm index ac4416d..71faa3a 100644 --- a/lib/Travelynx/Command/work.pm +++ b/lib/Travelynx/Command/work.pm @@ -55,8 +55,8 @@ sub run { } } if ( not $found_dep ) { - return Mojo::Promise->reject( - "Did not find $dep within journey $train_id"); + $self->app->log->debug("Did not find $dep within journey $train_id"); + return; } if ( $found_dep->{rt_dep} ) { @@ -122,7 +122,7 @@ sub run { @{ $status->{results} }; if ( not $train ) { - $self->app->log->info( + $self->app->log->debug( "could not find train $train_id at $dep\n"); return; } |