always store traewelling errors in debug mode
for the most part, they're not actionable. also, they're already available in user logs.
This commit is contained in:
parent
44ced8056c
commit
e15778be0d
1 changed files with 2 additions and 11 deletions
|
@ -380,17 +380,8 @@ sub checkin {
|
|||
$err_msg .= ' ' . $tx->res->body;
|
||||
}
|
||||
}
|
||||
if ( $err->{code} != 409
|
||||
and $err->{code} != 406
|
||||
and $err->{code} != 401 )
|
||||
{
|
||||
$self->{log}
|
||||
->warn("Traewelling $debug_prefix error: $err_msg");
|
||||
}
|
||||
else {
|
||||
$self->{log}
|
||||
->debug("Traewelling $debug_prefix error: $err_msg");
|
||||
}
|
||||
$self->{model}->log(
|
||||
uid => $opt{uid},
|
||||
message =>
|
||||
|
|
Loading…
Reference in a new issue