diff options
author | Daniel Friesel <derf@finalrewind.org> | 2021-02-08 18:08:19 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2021-02-08 18:08:19 +0100 |
commit | 9666a2c6bcd66cab5be07e9458429405dd3cf889 (patch) | |
tree | 0b72112b19e4822f712f1b438dc71569f7814bc4 | |
parent | 3f33341a2e848bbf31a083aaf07672136f73ec40 (diff) |
Do not warn on HAFAS "extra content at the end" (that's just an in-band 404)
-rwxr-xr-x | lib/Travelynx.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Travelynx.pm b/lib/Travelynx.pm index 882aab6..f028909 100755 --- a/lib/Travelynx.pm +++ b/lib/Travelynx.pm @@ -1228,7 +1228,9 @@ sub startup { )->catch( sub { my ($err) = @_; - if ( $err eq 'trainlink not found' ) { + if ( $err + =~ m{trainlink not found|extra content at the end}i ) + { $self->app->log->debug("add_route_timestamps: $err"); } else { |