hapijs / boom

HTTP-friendly error objects
Other
2.94k stars 192 forks source link

Boom 500 errors and logging #258

Closed VirgileD closed 4 years ago

VirgileD commented 5 years ago

Support plan

Context

How can we help?

In the documentation the following sentence: All 500 errors hide your message from the end user. Your message is recorded in the server log. let me believe that the error is recorded with server.log. But this is not the case. Is there a way to log the error without logging at each route? I'm willing to PR either to correct the documentation or the code, jst let me know if you think it would be acceptable to server.log when hiding the 500 error.

kanongil commented 5 years ago

This is clearly a documentation issue, since boom itself does not include any server or logging mechanism.

VirgileD commented 5 years ago

okay, PR done, #259