diff options
author | James Fish <[email protected]> | 2015-05-07 19:46:44 +0100 |
---|---|---|
committer | James Fish <[email protected]> | 2015-05-07 19:46:44 +0100 |
commit | a5e276cc3eb4214e99fae5deaf2ecdf511873f69 (patch) | |
tree | 2795dae5a91317c866647d7d91ece79990c36f5b | |
parent | 51357ab9516c7dbabff9438a22157459308370a7 (diff) | |
download | ct_helper-a5e276cc3eb4214e99fae5deaf2ecdf511873f69.tar.gz ct_helper-a5e276cc3eb4214e99fae5deaf2ecdf511873f69.tar.bz2 ct_helper-a5e276cc3eb4214e99fae5deaf2ecdf511873f69.zip |
Update error_logger handler for new cowboy_handler exits
-rw-r--r-- | src/ct_helper_error_h.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ct_helper_error_h.erl b/src/ct_helper_error_h.erl index f2074fa..3a27077 100644 --- a/src/ct_helper_error_h.erl +++ b/src/ct_helper_error_h.erl @@ -87,8 +87,8 @@ handle_event(Event = {error, GL, {emulator, _, Msg}}, State) end end; handle_event(Event = {error, GL, - {_, "Ranch listener" ++ _, [_, _, Pid, {[_, _, - {stacktrace, [{M, F, A, _}|_]}|_], _}]}}, + {_, "Ranch listener" ++ _, [_, _, Pid, {{cowboy_handler, [_, _, _, + {stacktrace, [{M, F, A, _}|_]}|_]}, _}]}}, State) when node(GL) =:= node() -> A2 = if is_list(A) -> length(A); true -> A end, Crash = {Pid, M, F, A2}, |