Traewelling: Ignore HTTP 406 on checkin as well
HTTP 406 indicates that a user has not accepted the ToS / privacy policy
This commit is contained in:
parent
9666a2c6bc
commit
a21826a055
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue