Unverified Commit e2e33de7 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

Traewelling: checkin: HTTP 401 is mostly harmless, too

401 typically indicates an expired login token
parent 537d3f4a
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -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 {