You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2021/04/29 12:58:34 UTC

[GitHub] [couchdb] iilyak commented on a change in pull request #3526: Add structured logging reports via new Erlang 21 logger

iilyak commented on a change in pull request #3526:
URL: https://github.com/apache/couchdb/pull/3526#discussion_r623026862



##########
File path: src/chttpd/src/chttpd_handlers.erl
##########
@@ -44,7 +45,12 @@ handler_info(HttpReq) ->
     Default = {'unknown.unknown', #{}},
     try
         select(collect(handler_info, [Method, PathParts, HttpReq]), Default)
-    catch ?STACKTRACE(Type, Reason, Stack)
+    catch Type:Reason:Stack ->
+        ?LOG_ERROR(#{

Review comment:
       `what => handler_info_failure,`?




-- 
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:
users@infra.apache.org