work: 'did not find $dep' is not actionable → change severity to debug

This commit is contained in:
Birte Kristina Friesel 2023-09-04 17:05:50 +02:00
parent 11b28d23fe
commit 55451b78f4
No known key found for this signature in database
GPG key ID: 19E6E524EBB177BA

View file

@ -55,8 +55,8 @@ sub run {
} }
} }
if ( not $found_dep ) { if ( not $found_dep ) {
return Mojo::Promise->reject( $self->app->log->debug("Did not find $dep within journey $train_id");
"Did not find $dep within journey $train_id"); return;
} }
if ( $found_dep->{rt_dep} ) { if ( $found_dep->{rt_dep} ) {
@ -122,7 +122,7 @@ sub run {
@{ $status->{results} }; @{ $status->{results} };
if ( not $train ) { if ( not $train ) {
$self->app->log->info( $self->app->log->debug(
"could not find train $train_id at $dep\n"); "could not find train $train_id at $dep\n");
return; return;
} }