basho/lager — Issue #33: Incorrect handling of crashing supervisor
Author: dLuna
Created: 2011-12-21 23:27:01+00:00
State: open

The `error_logger_lager_h` gen_event handler crashes with a badarg on a crashing gen_server which has a name which is not an atom. Supervisor children can be named with any term. See http://www.erlang.org/doc/man/supervisor.html#type-child_id

(Besides, the original code only works since for some odd reason Erlang allows atoms as arguments to ~s)

Line 182 in `error_logger_lager_h.erl`

io_lib:format("~s started with ~s at ~w",

should change into

io_lib:format("~w started with ~s at ~w",