Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…86865) # Backport This will backport the following commits from `main` to `8.14`: - [[Obs AI Assistant] Handle Axios errors correctly (#186790)](#186790) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Dario Gieselaar","email":"dario.gieselaar@elastic.co"},"sourceCommit":{"committedDate":"2024-06-25T06:38:22Z","message":"[Obs AI Assistant] Handle Axios errors correctly (#186790)\n\nthe `kibana` function throws an axios error, and it resulted in an error\r\nbecause `toJSON()` doesn't actually return a string like I expected it\r\nto, it returns a structured object that can be converted into a string\r\nby calling JSON.stringify().","sha":"ca41e6685ea245ea8d7fb3f39b31fa18f5134821","branchLabelMapping":{"^v8.15.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:skip","Team:Obs AI Assistant","ci:project-deploy-observability","v8.15.0","v8.14.2"],"title":"[Obs AI Assistant] Handle Axios errors correctly","number":186790,"url":"#186790 AI Assistant] Handle Axios errors correctly (#186790)\n\nthe `kibana` function throws an axios error, and it resulted in an error\r\nbecause `toJSON()` doesn't actually return a string like I expected it\r\nto, it returns a structured object that can be converted into a string\r\nby calling JSON.stringify().","sha":"ca41e6685ea245ea8d7fb3f39b31fa18f5134821"}},"sourceBranch":"main","suggestedTargetBranches":["8.14"],"targetPullRequestStates":[{"branch":"main","label":"v8.15.0","branchLabelMappingKey":"^v8.15.0$","isSourceBranch":true,"state":"MERGED","url":"#186790 AI Assistant] Handle Axios errors correctly (#186790)\n\nthe `kibana` function throws an axios error, and it resulted in an error\r\nbecause `toJSON()` doesn't actually return a string like I expected it\r\nto, it returns a structured object that can be converted into a string\r\nby calling JSON.stringify().","sha":"ca41e6685ea245ea8d7fb3f39b31fa18f5134821"}},{"branch":"8.14","label":"v8.14.2","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Dario Gieselaar <dario.gieselaar@elastic.co>
- Loading branch information