add_route_timestamps: adjust log severity

we can't do anything about "trainlink not found", so it really shouldn't be
a warning.
This commit is contained in:
Daniel Friesel 2020-11-08 18:44:32 +01:00
parent 5e96745121
commit c8832e410e

View file

@ -1307,7 +1307,12 @@ sub startup {
)->catch(
sub {
my ($err) = @_;
if ( $err eq 'trainlink not found' ) {
$self->app->log->debug("add_route_timestamps: $err");
}
else {
$self->app->log->warn("add_route_timestamps: $err");
}
return;
}
)->wait;