Skip to content

Commit 4f18eb7

Browse files
Log errors as, well, errors
1 parent e0a47e7 commit 4f18eb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rabbit_reader.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ log_connection_exception_with_severity(Severity, Fmt, Args) ->
453453
debug -> rabbit_log_connection:debug(Fmt, Args);
454454
info -> rabbit_log_connection:info(Fmt, Args);
455455
warning -> rabbit_log_connection:warning(Fmt, Args);
456-
error -> rabbit_log_connection:warning(Fmt, Args)
456+
error -> rabbit_log_connection:error(Fmt, Args)
457457
end.
458458

459459
run({M, F, A}) ->

0 commit comments

Comments
 (0)