Commits

Anonymous committed 6539dbd

error catching here does not help

Comments (0)

Files changed (1)

src/webmachine_request.erl

         put(bytes_written, get(bytes_written) + Size),
         Size
     end,
-    try
-        BodyFun(Writer)
-    catch
-        Type:Error ->
-            io:format("Error writing body: {~p, ~p}~n", [Type, Error]),
-            io:format("Stack: ~p~n", [erlang:get_stacktrace()]),
-            exit(normal)
-    end,
+    BodyFun(Writer),
     send_chunk(Socket, <<>>),
     get(bytes_written).