File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -1502,14 +1502,14 @@ handle_frame_pre_auth(Transport,
15021502 Connection # stream_connection {connection_step = opened ,
15031503 virtual_host = VirtualHost }),
15041504 Conn
1505- catch
1506- exit : _ ->
1507- F = rabbit_stream_core :frame ({response , CorrelationId ,
1508- {open ,
1509- ? RESPONSE_VHOST_ACCESS_FAILURE ,
1510- #{}}}),
1511- send (Transport , S , F ),
1512- Connection # stream_connection {connection_step = failure }
1505+ catch exit : # amqp_error { explanation = Explanation } ->
1506+ rabbit_log : warning ( " Opening connection failed: ~ts " , [ Explanation ]),
1507+ F = rabbit_stream_core :frame ({response , CorrelationId ,
1508+ {open ,
1509+ ? RESPONSE_VHOST_ACCESS_FAILURE ,
1510+ #{}}}),
1511+ send (Transport , S , F ),
1512+ Connection # stream_connection {connection_step = failure }
15131513 end ,
15141514
15151515 {Connection1 , State };
You can’t perform that action at this time.
0 commit comments