Skip to content

[7.8] [APM] Catch annotations index permission error (#69881)#69948

Merged
dgieselaar merged 1 commit intoelastic:7.8from
dgieselaar:backport/7.8/pr-69881
Jun 25, 2020
Merged

[7.8] [APM] Catch annotations index permission error (#69881)#69948
dgieselaar merged 1 commit intoelastic:7.8from
dgieselaar:backport/7.8/pr-69881

Conversation

@dgieselaar
Copy link
Copy Markdown
Contributor

Backports the following commits to 7.8:

…ic#69881)

Relates to elastic#69642. If the user doesn't have the appropriate privileges for the annotations index, instead of failing with a 500, we now catch the error and log a warning to the console.
# Conflicts:
#	x-pack/plugins/apm/server/routes/services.ts
@dgieselaar dgieselaar added the backport This PR is a backport of another PR label Jun 25, 2020
@kibanamachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

Build metrics

✅ unchanged

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@dgieselaar dgieselaar changed the title [7.8] [APM] Catch annotations index permission error and log warning (#69881) [7.8] [APM] Catch annotations index permission error (#69881) Jun 25, 2020
@dgieselaar dgieselaar merged commit 734cd19 into elastic:7.8 Jun 25, 2020
@dgieselaar dgieselaar deleted the backport/7.8/pr-69881 branch June 25, 2020 18:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants