Skip to content

Commit

Permalink
Fix formatter crash when Port is undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
lukebakken authored and michaelklishin committed Jun 22, 2024
1 parent 41936e2 commit 2ab889b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deps/rabbit/src/rabbit_epmd_monitor.erl
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ handle_port_please(init, noport, Me, Port) ->
rabbit_log:info("epmd does not know us, re-registering as ~ts", [Me]),
{ok, Port};
handle_port_please(check, noport, Me, Port) ->
rabbit_log:warning("epmd does not know us, re-registering ~ts at port ~b", [Me, Port]),
rabbit_log:warning("epmd does not know us, re-registering ~ts at port ~tp", [Me, Port]),
{ok, Port};
handle_port_please(_, closed, _Me, Port) ->
rabbit_log:error("epmd monitor failed to retrieve our port from epmd: closed"),
Expand Down

0 comments on commit 2ab889b

Please sign in to comment.