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://changemetrics.io
GNU Affero General Public License v3.0
377 stars 58 forks source link

Catch elasticsearch error within the API #1100

Closed TristanCacqueray closed 10 months ago

TristanCacqueray commented 10 months ago

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

TristanCacqueray commented 10 months ago

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