Skip to content

Commit

Permalink
[ML] Explain Log Rate Spikes: Wrap analysis in try/catch block. (#144400
Browse files Browse the repository at this point in the history
)

This wraps the analysis part in a try/catch block. We had individual try/catch blocks already to handle ES queries. Because the analysis is run async, if another error happens it would trigger an unresolved promise error and could crash Kibana server. Adding this additional try/catch block avoids this.

(cherry picked from commit d556450)
  • Loading branch information
walterra authored Nov 2, 2022
1 parent 455704e commit bf22fd4
Showing 1 changed file with 460 additions and 450 deletions.
Loading

0 comments on commit bf22fd4

Please sign in to comment.