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

always store traewelling errors in debug mode

for the most part, they're not actionable. also, they're already available in
user logs.
parent 44ced805
Loading
Loading
Loading
Loading
+2 −11
Original line number Diff line number Diff line
@@ -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 =>