Traewelling: Do not warn on 409 Conflict
This commit is contained in:
parent
9223ba5fa1
commit
6c015a91b8
1 changed files with 6 additions and 1 deletions
|
@ -330,7 +330,12 @@ sub checkin {
|
|||
my ($tx) = @_;
|
||||
if ( my $err = $tx->error ) {
|
||||
my $err_msg = "HTTP $err->{code} $err->{message}";
|
||||
$self->{log}->warn("Traewelling checkin error: $err_msg");
|
||||
if ( $err->{code} != 409 ) {
|
||||
$self->{log}->warn("Traewelling checkin error: $err_msg");
|
||||
}
|
||||
else {
|
||||
$self->{log}->debug("Traewelling checkin error: $err_msg");
|
||||
}
|
||||
$self->{model}->log(
|
||||
uid => $opt{uid},
|
||||
message =>
|
||||
|
|
Loading…
Reference in a new issue