diff options
author | Loïc Hoguin <[email protected]> | 2016-08-10 11:52:41 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2016-08-10 11:52:41 +0200 |
commit | 3a057683afc79c8f26b37ff12507032df201fc7e (patch) | |
tree | 6a6e60ec917a52c1e808abe9184bac4a2389ad14 /src/cowboy_stream_h.erl | |
parent | ae0dd616737d8e1116de4a04be0bc84188997eb0 (diff) | |
download | cowboy-3a057683afc79c8f26b37ff12507032df201fc7e.tar.gz cowboy-3a057683afc79c8f26b37ff12507032df201fc7e.tar.bz2 cowboy-3a057683afc79c8f26b37ff12507032df201fc7e.zip |
Add a lot of todos
Diffstat (limited to 'src/cowboy_stream_h.erl')
-rw-r--r-- | src/cowboy_stream_h.erl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cowboy_stream_h.erl b/src/cowboy_stream_h.erl index 54dcc2d..e29ffc5 100644 --- a/src/cowboy_stream_h.erl +++ b/src/cowboy_stream_h.erl @@ -152,6 +152,11 @@ report_crash(Ref, StreamID, Pid, Reason, Stacktrace) -> %% Request process. +%% @todo This should wrap with try/catch to get the full error +%% in the stream handler. Only then can we decide what to do +%% about it. This means that we should remove any other try/catch +%% in the request process. + %% This hack is necessary because proc_lib does not propagate %% stacktraces by default. This is ugly because we end up %% having two try/catch instead of one (the one in proc_lib), |