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

Generic fault messages #129

Open
scristofaro opened this issue May 7, 2021 · 2 comments
Open

Generic fault messages #129

scristofaro opened this issue May 7, 2021 · 2 comments
Labels
pr-welcome Issue for which progress most likely if someone submits a Pull Request

Comments

@scristofaro
Copy link

Hello,

I would like to ask if there's a option to disable faultstring messages. For example, turn messages like this:

throwParseError("Unexpected '<' character in element (missing closing '>'?)");

to a generic or empty one, so as to avoid details in Internal Server Error response.

Thanks in advance.
S.

@cowtowncoder
Copy link
Member

There is currently no way to do that at this point; you would need to catch exception and create a replacement.

If someone wanted to implement a feature like that ("property"), I would accept it -- or maybe some kind of handler that would be given proposed message and could replace it with something else.

@cowtowncoder cowtowncoder added the pr-welcome Issue for which progress most likely if someone submits a Pull Request label Nov 20, 2021
@cowtowncoder
Copy link
Member

Added a label to indicate that I probably won't have time to work on such a feature myself, but would be happy to help getting a PR merged (and suggests ways to approach this).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr-welcome Issue for which progress most likely if someone submits a Pull Request
Projects
None yet
Development

No branches or pull requests

2 participants