Do not warn on HAFAS "extra content at the end" (that's just an in-band 404)
This commit is contained in:
parent
3f33341a2e
commit
9666a2c6bc
1 changed files with 3 additions and 1 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue