-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Rule details page] Fix Cannot read properties of undefined (reading …
…'statusCode') (#206023) ## Summary Occasionally, we see the following error on the Observability rule details page: ``` TypeError: Cannot read properties of undefined (reading 'statusCode') ``` This PR tries to fix this issue in order to capture the actual error and avoid accessing `statusCode` when the error.body is undefined.
- Loading branch information
1 parent
0ad1695
commit 25e12a6
Showing
3 changed files
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters