Skip to content

Commit 1befbf4

Browse files
committed
fixup! fixup! Remove '\n' from Access refused stomp log. close #2568
1 parent d8b8949 commit 1befbf4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deps/rabbitmq_stomp/src/rabbit_stomp_processor.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -613,7 +613,7 @@ do_login(Username, Passwd, VirtualHost, Heartbeat, AdapterInfo, Version,
613613
{error, {auth_failure, _}} ->
614614
rabbit_log:warning("STOMP login failed for user '~ts': authentication failed", [Username]),
615615
error("Bad CONNECT", "Access refused for user '" ++
616-
binary_to_list(Username) ++ "'~n", [], State);
616+
binary_to_list(Username) ++ "'", [], State);
617617
{error, not_allowed} ->
618618
rabbit_log:warning("STOMP login failed for user '~ts': "
619619
"virtual host access not allowed", [Username]),

0 commit comments

Comments
 (0)