Error Visibility
Configure how your application handles errors and provides debugging information to help you troubleshoot issues effectively.
Hide error details in production
Set hideErrorResponseCause to true in production to prevent exposing
internal implementation details to clients. Keep it false in development
so you can see full error information for debugging.
Enable JSON tracing for API debugging
Turn on traceJson to get detailed request and response information in
JSON format. This helps when debugging API call flows, but generates
verbose output.
Control logging verbosity
See Logging for details.
Set up error monitoring with Sentry
Configure sentryDsn with your Sentry project's Data Source Name to
automatically track errors. Set sentryEnvironment to label errors by
deployment environment — for example "production" or "staging".
Example configuration
Development:
app:
hideErrorResponseCause: false
traceJson: true
traceLevel: "database=debug,api=debug"
sentryEnvironment: "development"
Production:
app:
hideErrorResponseCause: true
traceJson: false
traceLevel: "database=warn,api=error"
sentryDsn: "https://your-sentry-dsn@sentry.io/project"
sentryEnvironment: "production"