New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Serializing exceptions in error responses #59

Closed
rhuss opened this Issue Jan 16, 2013 · 1 comment

Comments

Projects
None yet
1 participant
@rhuss
Owner

rhuss commented Jan 16, 2013

Add two new configuration options for tuning the error responses:

  • includeStacktrace = [never, always, runtime] to tune the inclusion of stacktraces in an error response. Currently this is 'always', but would be nice to avoid stacktraces all together or only include stacktraces for RuntimeExceptions
  • serializeException = [true, false] whether to include a JSON serialized version of the exception in the error response. Under the key error_value (similar to 'value' for proper return values ?)

See also the forum for details.

@ghost ghost assigned rhuss Jan 16, 2013

@rhuss

This comment has been minimized.

Owner

rhuss commented Feb 8, 2013

Implemented for 1.1.0 and available in integration branch.

@rhuss rhuss closed this Feb 8, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment