diff options
| author | Michael Klishin <mklishin@pivotal.io> | 2018-08-15 19:58:49 +0300 |
|---|---|---|
| committer | Michael Klishin <mklishin@pivotal.io> | 2018-08-15 19:58:49 +0300 |
| commit | 4f18eb728588651d616a19f2cedaaf861aab3a5b (patch) | |
| tree | 2bd0282dd684d0878fa3c4a3d79666743b372729 /src | |
| parent | e0a47e7aa7d1423e51fa115b8c4e7e46496418a5 (diff) | |
| download | rabbitmq-server-git-4f18eb728588651d616a19f2cedaaf861aab3a5b.tar.gz | |
Log errors as, well, errors
Diffstat (limited to 'src')
| -rw-r--r-- | src/rabbit_reader.erl | 2 |
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}) -> |
