diff options
Diffstat (limited to 'lib/Travelynx/Helper/Traewelling.pm')
-rw-r--r-- | lib/Travelynx/Helper/Traewelling.pm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/Travelynx/Helper/Traewelling.pm b/lib/Travelynx/Helper/Traewelling.pm index 430ef62..ccc5711 100644 --- a/lib/Travelynx/Helper/Traewelling.pm +++ b/lib/Travelynx/Helper/Traewelling.pm @@ -353,7 +353,10 @@ sub checkin { my ($tx) = @_; if ( my $err = $tx->error ) { my $err_msg = "HTTP $err->{code} $err->{message}"; - if ( $err->{code} != 409 and $err->{code} != 406 ) { + if ( $err->{code} != 409 + and $err->{code} != 406 + and $err->{code} != 401 ) + { $self->{log}->warn("Traewelling checkin error: $err_msg"); } else { |