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:
parent
5e96745121
commit
c8832e410e
1 changed files with 6 additions and 1 deletions
|
@ -1307,7 +1307,12 @@ sub startup {
|
|||
)->catch(
|
||||
sub {
|
||||
my ($err) = @_;
|
||||
$self->app->log->warn("add_route_timestamps: $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;
|
||||
|
|
Loading…
Reference in a new issue