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:
[email protected]


Reply via email to