summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rwxr-xr-xlib/Travelynx.pm4
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 {