rnewson commented on a change in pull request #3363:
URL: https://github.com/apache/couchdb/pull/3363#discussion_r573183159
##########
File path: src/chttpd/src/chttpd.erl
##########
@@ -1036,6 +1036,8 @@ error_info({service_unavailable, Reason}) ->
{503, <<"service unavailable">>, Reason};
error_info({timeout, _Reason}) ->
error_info(timeout);
+error_info({'EXIT', {Error, Stack}}) ->
+ error_info({Error, nil, Stack});
Review comment:
this appears to just invoke a clause further down, which calls another.
I think it better to shorten the path here. I think `error_info(Error)` ends up
doing the same thing but calling error_info one further time not two?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]