idealista / prom2teams

prom2teams is an HTTP server built with Python that receives alert notifications from a previously configured Prometheus Alertmanager instance and forwards it to Microsoft Teams using defined connectors
Apache License 2.0
268 stars 84 forks source link

#312 update error handler to handle different type of exceptions #313

Closed smartinsempere closed 1 year ago

smartinsempere commented 1 year ago

Description of the Change

Add logic to error handler to improve response status code returned.

Benefits

Possible Drawbacks

N/A

Applicable Issues

N/A

sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication