Skip to content

Commit

Permalink
Supervisor children are not guranteed to be atoms. Fixes issue erlang…
Browse files Browse the repository at this point in the history
  • Loading branch information
Vagabond committed Dec 22, 2011
1 parent c9173d7 commit dc750f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/error_logger_lager_h.erl
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ format_offender(Off) ->
%% regular supervisor
MFA = format_mfa(MFArgs),
Name = proplists:get_value(name, Off),
io_lib:format("~s started with ~s at ~w",
io_lib:format("~p started with ~s at ~w",
[Name, MFA, proplists:get_value(pid, Off)])
end.

Expand Down

0 comments on commit dc750f5

Please sign in to comment.