Commit a21826a0 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

Traewelling: Ignore HTTP 406 on checkin as well

HTTP 406 indicates that a user has not accepted the ToS / privacy policy
parent 9666a2c6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -330,7 +330,7 @@ sub checkin {
			my ($tx) = @_;
			if ( my $err = $tx->error ) {
				my $err_msg = "HTTP $err->{code} $err->{message}";
				if ( $err->{code} != 409 ) {
				if ( $err->{code} != 409 and $err->{code} != 406 ) {
					$self->{log}->warn("Traewelling checkin error: $err_msg");
				}
				else {