We need to add request logging and consistent JSON error formatting to all HTTP endpoints in NSQ. Currently…
We need to add request logging and consistent JSON error formatting to all HTTP endpoints in NSQ. Currently…: a task in LegoFlow-SWE (Harbor dataset). But 404 and 405 responses use a completely different format (plain text or HTML), breaking clients that expect uniform JSON. - Unhandled panics –…
The task
But 404 and 405 responses use a completely different format (plain text or HTML), breaking clients that expect uniform JSON. - **Unhandled panics** – if a handler panics, the server crashes with a stack trace instead of returning a controlled 500 error and staying up.
Part of Lego-X/LegoFlow-SWE.