diff options
| author | Matthias Radestock <matthias@rabbitmq.com> | 2012-11-06 12:52:42 +0000 |
|---|---|---|
| committer | Matthias Radestock <matthias@rabbitmq.com> | 2012-11-06 12:52:42 +0000 |
| commit | a0c98201114c44e8ece77d5385ee595fe54315fc (patch) | |
| tree | 9f820c9707e77439495a24b03cda54cfb1eec4dc | |
| parent | 49e569d2549a60f8c73028a1c86b8a1760565024 (diff) | |
| download | rabbitmq-server-git-a0c98201114c44e8ece77d5385ee595fe54315fc.tar.gz | |
use ~p after all
otherwise we end up with {leftover_string,[102,111,111,98,97,114]} in
the logs
| -rw-r--r-- | src/rabbit_channel.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_channel.erl b/src/rabbit_channel.erl index 79815d68fe..a94d2ab53c 100644 --- a/src/rabbit_channel.erl +++ b/src/rabbit_channel.erl @@ -477,7 +477,7 @@ check_user_id_header(#'P_basic'{user_id = Claimed}, check_expiration_header(Props) -> case rabbit_basic:parse_expiration(Props) of {ok, _} -> ok; - {error, E} -> precondition_failed("invalid expiration '~s': ~w", + {error, E} -> precondition_failed("invalid expiration '~s': ~p", [Props#'P_basic'.expiration, E]) end. |
