summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rabbit_reader.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_reader.erl b/src/rabbit_reader.erl
index 56cdbb4ddf..967e86d6b4 100644
--- a/src/rabbit_reader.erl
+++ b/src/rabbit_reader.erl
@@ -453,7 +453,7 @@ log_connection_exception_with_severity(Severity, Fmt, Args) ->
debug -> rabbit_log_connection:debug(Fmt, Args);
info -> rabbit_log_connection:info(Fmt, Args);
warning -> rabbit_log_connection:warning(Fmt, Args);
- error -> rabbit_log_connection:warning(Fmt, Args)
+ error -> rabbit_log_connection:error(Fmt, Args)
end.
run({M, F, A}) ->