ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [ambari] sziszo opened a new pull request #3229: AMBARI-25552 Improve stack-trace disablement on HTTP 500 error response from the server (santal)
Date Wed, 23 Sep 2020 04:21:15 GMT

sziszo opened a new pull request #3229:
URL: https://github.com/apache/ambari/pull/3229


   ## What changes were proposed in this pull request?
   
   AMBARI-25353 disabling any stack trace output from API HTTP 500 response. The problem is
that such response in most cases are no logged to the log file and later on production it
would create a problem for customer to report the issue or for developer to investigate.
   
   The proposal is to enable logging for such errors with creating some request id, which
would be added to log file and reported back to the user in format like: "Internal server
error, please refer the exception by [request id] in the server log file"
   
   ## How was this patch tested?
   
   The patch was tested with unit and manual tests.
   


----------------------------------------------------------------
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



Mime
View raw message