diff options
| author | Daniel Friesel <derf@finalrewind.org> | 2020-11-08 18:44:32 +0100 | 
|---|---|---|
| committer | Daniel Friesel <derf@finalrewind.org> | 2020-11-08 18:44:32 +0100 | 
| commit | c8832e410e4c6c63ff89d2eea8190c13a740cf3e (patch) | |
| tree | fd119250a2fc191a18128e57c34e93d69a2bd4ad | |
| parent | 5e967451211ecee9b7810311acdc96cafdfce228 (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-x | lib/Travelynx.pm | 7 | 
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; | 
