From 8a8aacd696a7454c8134d8c3bd01885f3b9dc125 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Sat, 9 May 2015 11:24:48 +0300 Subject: Fix data structure of error reports --- src/ct_helper_error_h.erl | 4 ++-- 1 file 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}, -- cgit v1.2.3