change-metrics / monocle

Monocle helps teams and individual to better organize daily duties and to detect anomalies in the way changes are produced and reviewed.
https://demo.changemetrics.io/
GNU Affero General Public License v3.0
362 stars 56 forks source link

Catch elasticsearch error within the API #1100

Closed TristanCacqueray closed 5 months ago

TristanCacqueray commented 5 months ago

This change improves error reporting when the elastic client throws errors. The implementation is done in the Monocle.Effects module.

TristanCacqueray commented 5 months ago

Would be nice to have a test (e.g. inject a change without a target_branch before performing a search).