Skip to content
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

feat: allow detail messages that contain [public] in error responses #735

Open
wants to merge 2 commits into
base: stable
Choose a base branch
from

Conversation

jamemackson
Copy link
Contributor

After #713 was merged, this made it impossible to return any meaningful error messages when desired. This PR adds a rudimentary way to specifically allow a message detail by including [public] in the message.

When the [public] tag is found in the message, the error.detail value is set and the [public] string is removed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants