summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2020-11-08 18:44:32 +0100
committerDaniel Friesel <derf@finalrewind.org>2020-11-08 18:44:32 +0100
commitc8832e410e4c6c63ff89d2eea8190c13a740cf3e (patch)
treefd119250a2fc191a18128e57c34e93d69a2bd4ad
parent5e967451211ecee9b7810311acdc96cafdfce228 (diff)
add_route_timestamps: adjust log severity1.18.8
we can't do anything about "trainlink not found", so it really shouldn't be a warning.
-rwxr-xr-xlib/Travelynx.pm7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/Travelynx.pm b/lib/Travelynx.pm
index c30cfdf..50bf3f1 100755
--- a/lib/Travelynx.pm
+++ b/lib/Travelynx.pm
@@ -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;