mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-14 04:10:24 +00:00
Also include trace messages when timestamp flag isn't used
This commit is contained in:
parent
f6049b85a3
commit
63a6b86fba
1 changed files with 1 additions and 1 deletions
|
@ -159,7 +159,7 @@ tracer_process(StreamID, Req=#{pid := Parent}, Opts=#{tracer_callback := Fun}) -
|
|||
|
||||
tracer_loop(Parent, Opts=#{tracer_callback := Fun}, State0) ->
|
||||
receive
|
||||
Msg when element(1, Msg) =:= trace_ts ->
|
||||
Msg when element(1, Msg) =:= trace; element(1, Msg) =:= trace_ts ->
|
||||
State = Fun(Msg, State0),
|
||||
tracer_loop(Parent, Opts, State);
|
||||
{'EXIT', Parent, Reason} ->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue