summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Travelynx/Command/work.pm7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/Travelynx/Command/work.pm b/lib/Travelynx/Command/work.pm
index fbd70a6..2caad05 100644
--- a/lib/Travelynx/Command/work.pm
+++ b/lib/Travelynx/Command/work.pm
@@ -138,7 +138,7 @@ sub run {
)->catch(
sub {
my ($err) = @_;
- $self->app->log->error(
+ $self->app->log->debug(
"work($uid) @ DBRIS $entry->{backend_name}: journey: $err"
);
if ( $err =~ m{HTTP 429} ) {
@@ -269,9 +269,10 @@ sub run {
my ($err) = @_;
$backend_issues += 1;
if ( $err
- =~ m{svcResL\[0\][.]err is (?:FAIL|PARAMETER)$} )
+ =~ m{svcResL\[0\][.]err is (?:FAIL|PARAMETER)$}
+ or $err =~ m{timeout} )
{
- # HAFAS do be weird. These are not actionable.
+ # These are not actionable.
$self->app->log->debug(
"work($uid) @ HAFAS $entry->{backend_name}: journey: $err"
);