Do not warn on HAFAS "extra content at the end" (that's just an in-band 404)

This commit is contained in:
Daniel Friesel 2021-02-08 18:08:19 +01:00
parent 3f33341a2e
commit 9666a2c6bc

View file

@ -1228,7 +1228,9 @@ sub startup {
)->catch( )->catch(
sub { sub {
my ($err) = @_; 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"); $self->app->log->debug("add_route_timestamps: $err");
} }
else { else {