-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Reporting] Remove Boom
#116289
[Reporting] Remove Boom
#116289
Conversation
…esponse to forbidden to avoid client logging user out
Pinging @elastic/kibana-reporting-services (Team:Reporting Services) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@elasticmachine merge upstream |
💚 Build Succeeded
Metrics [docs]
History
To update your PR or re-run it, just comment with: |
The following labels were identified as gaps in your version labels and will be added automatically:
If any of these should not be on your pull request, please manually remove them. |
* remove use of boom from info response handler; also changed unauthd response to forbidden to avoid client logging user out * rather return 500 with err.message * added jest tests for common cases on the info route Co-authored-by: Kibana Machine <[email protected]>
* remove use of boom from info response handler; also changed unauthd response to forbidden to avoid client logging user out * rather return 500 with err.message * added jest tests for common cases on the info route Co-authored-by: Kibana Machine <[email protected]>
* remove use of boom from info response handler; also changed unauthd response to forbidden to avoid client logging user out * rather return 500 with err.message * added jest tests for common cases on the info route Co-authored-by: Kibana Machine <[email protected]> Co-authored-by: Jean-Louis Leysens <[email protected]>
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
1 similar comment
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
* remove use of boom from info response handler; also changed unauthd response to forbidden to avoid client logging user out * rather return 500 with err.message * added jest tests for common cases on the info route Co-authored-by: Kibana Machine <[email protected]> Co-authored-by: Jean-Louis Leysens <[email protected]>
Summary
Removes an instance of throwing a Boom.unauthorized error and instead uses the
kibanaResponseFactory
responses.Notes
ResponseHandle
class and instead returns a 500 with error message that will hopefully provide more information about the issue client side.Checklist