@@ -516,7 +516,7 @@ handle_info({bump_credit, Msg}, State) ->
516516% % @private
517517handle_info (timed_out_flushing_channel , State ) ->
518518 ? LOG_WARNING (" Channel (~tp ) closing: timed out flushing while "
519- " connection closing" , [self ()]),
519+ " connection closing" , [self ()]),
520520 {stop , timed_out_flushing_channel , State };
521521% % @private
522522handle_info ({'DOWN' , _ , process , ReturnHandler , shutdown },
@@ -525,7 +525,7 @@ handle_info({'DOWN', _, process, ReturnHandler, shutdown},
525525handle_info ({'DOWN' , _ , process , ReturnHandler , Reason },
526526 State = # state {return_handler = {ReturnHandler , _Ref }}) ->
527527 ? LOG_WARNING (" Channel (~tp ): Unregistering return handler ~tp because it died. "
528- " Reason: ~tp " , [self (), ReturnHandler , Reason ]),
528+ " Reason: ~tp " , [self (), ReturnHandler , Reason ]),
529529 {noreply , State # state {return_handler = none }};
530530% % @private
531531handle_info ({'DOWN' , _ , process , ConfirmHandler , shutdown },
@@ -534,7 +534,7 @@ handle_info({'DOWN', _, process, ConfirmHandler, shutdown},
534534handle_info ({'DOWN' , _ , process , ConfirmHandler , Reason },
535535 State = # state {confirm_handler = {ConfirmHandler , _Ref }}) ->
536536 ? LOG_WARNING (" Channel (~tp ): Unregistering confirm handler ~tp because it died. "
537- " Reason: ~tp " , [self (), ConfirmHandler , Reason ]),
537+ " Reason: ~tp " , [self (), ConfirmHandler , Reason ]),
538538 {noreply , State # state {confirm_handler = none }};
539539% % @private
540540handle_info ({'DOWN' , _ , process , FlowHandler , shutdown },
@@ -543,7 +543,7 @@ handle_info({'DOWN', _, process, FlowHandler, shutdown},
543543handle_info ({'DOWN' , _ , process , FlowHandler , Reason },
544544 State = # state {flow_handler = {FlowHandler , _Ref }}) ->
545545 ? LOG_WARNING (" Channel (~tp ): Unregistering flow handler ~tp because it died. "
546- " Reason: ~tp " , [self (), FlowHandler , Reason ]),
546+ " Reason: ~tp " , [self (), FlowHandler , Reason ]),
547547 {noreply , State # state {flow_handler = none }};
548548handle_info ({'DOWN' , _ , process , QPid , _Reason }, State ) ->
549549 rabbit_amqqueue_common :notify_sent_queue_down (QPid ),
@@ -593,13 +593,13 @@ handle_method_to_server(Method, AmqpMsg, From, Sender, Flow,
593593 From , Sender , Flow , State1 )};
594594 {ok , none , BlockReply } ->
595595 ? LOG_WARNING (" Channel (~tp ): discarding method ~tp in cast.~n "
596- " Reason: ~tp " , [self (), Method , BlockReply ]),
596+ " Reason: ~tp " , [self (), Method , BlockReply ]),
597597 {noreply , State };
598598 {ok , _ , BlockReply } ->
599599 {reply , BlockReply , State };
600600 {{_ , InvalidMethodMessage }, none , _ } ->
601601 ? LOG_WARNING (" Channel (~tp ): ignoring cast of ~tp method. " ++
602- InvalidMethodMessage ++ " " , [self (), Method ]),
602+ InvalidMethodMessage ++ " " , [self (), Method ]),
603603 {noreply , State };
604604 {{InvalidMethodReply , _ }, _ , _ } ->
605605 {reply , {error , InvalidMethodReply }, State }
@@ -796,7 +796,7 @@ handle_method_from_server1(#'basic.ack'{} = BasicAck, none,
796796handle_method_from_server1 (# 'basic.nack' {} = BasicNack , none ,
797797 # state {confirm_handler = none } = State ) ->
798798 ? LOG_WARNING (" Channel (~tp ): received ~tp but there is no "
799- " confirm handler registered" , [self (), BasicNack ]),
799+ " confirm handler registered" , [self (), BasicNack ]),
800800 {noreply , update_confirm_set (BasicNack , State )};
801801handle_method_from_server1 (# 'basic.nack' {} = BasicNack , none ,
802802 # state {confirm_handler = {CH , _Ref }} = State ) ->
@@ -932,7 +932,7 @@ server_misbehaved(#amqp_error{} = AmqpError, State = #state{number = Number}) ->
932932 handle_shutdown ({server_misbehaved , AmqpError }, State );
933933 {_ , Close } ->
934934 ? LOG_WARNING (" Channel (~tp ) flushing and closing due to soft "
935- " error caused by the server ~tp " , [self (), AmqpError ]),
935+ " error caused by the server ~tp " , [self (), AmqpError ]),
936936 Self = self (),
937937 spawn (fun () -> call (Self , Close ) end ),
938938 {noreply , State }
0 commit comments