diff options
author | Loïc Hoguin <[email protected]> | 2015-05-09 11:24:48 +0300 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2015-05-09 11:24:48 +0300 |
commit | 8a8aacd696a7454c8134d8c3bd01885f3b9dc125 (patch) | |
tree | e5b68d4e79213619e44e4f0aee9e578278ea255d | |
parent | a5e276cc3eb4214e99fae5deaf2ecdf511873f69 (diff) | |
download | ct_helper-8a8aacd696a7454c8134d8c3bd01885f3b9dc125.tar.gz ct_helper-8a8aacd696a7454c8134d8c3bd01885f3b9dc125.tar.bz2 ct_helper-8a8aacd696a7454c8134d8c3bd01885f3b9dc125.zip |
Fix data structure of error reports
-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 3a27077..babb461 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, {{cowboy_handler, [_, _, _, - {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}, |