You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current logic in ApiExceptionHandlerBase.shouldLogStackTrace(...) returns false for 4xx errors (no stack trace in the logs), and true for everything else (yes stack trace in the logs).
We should add a field to ApiException to allow users to override this default behavior and force stack trace on/off if they want to override the default 4xx vs. 5xx decision behavior.
The text was updated successfully, but these errors were encountered:
nicmunroe
changed the title
Allow ApiException to force stack trace logging even for 4xx
Allow ApiException to force stack trace logging even for 4xx, or suppress for 5xx
Sep 13, 2019
The current logic in
ApiExceptionHandlerBase.shouldLogStackTrace(...)
returns false for 4xx errors (no stack trace in the logs), and true for everything else (yes stack trace in the logs).We should add a field to
ApiException
to allow users to override this default behavior and force stack trace on/off if they want to override the default 4xx vs. 5xx decision behavior.The text was updated successfully, but these errors were encountered: