-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Handler errors should be formatted as JSON. #4921
Conversation
@otoolep same error code but the only difference is that the error is JSON encoded as per issue request. Is there any reasoning behind this not being the case before? |
Previous behavior:
PR behavior:
|
@otoolep thank you. I think the question about breaking changes begs for more reviewing of the currently open issues, so to prevent anyone else spending time with stuff that in the end may get rejected. Agree? |
Yeah, makes sense @pires -- I'm on the fence about this one, since it's looks like a bug that it was never JSON-format. |
I'm personally ok with this breaking change. It seems like it should have been JSON to begin with. |
Any updates on this? |
Yep, should have been json to begin with. Thanks @pires! |
Handler errors should be formatted as JSON.
Fixes #3170