Skip to content

Commit

Permalink
[ML] Explain Log Rate Spikes: Wrap analysis in try/catch block.
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.
  • Loading branch information
walterra authored Oct 20, 2022
1 parent 9a433da commit d556450
Showing 1 changed file with 460 additions and 450 deletions.
Loading

0 comments on commit d556450

Please sign in to comment.