catch potential exception in reporters

This commit is contained in:
Jakob Ketterl 2024-01-30 23:33:20 +01:00
parent ea1b0cecc2
commit 27d44aeca9

View file

@ -68,4 +68,7 @@ class ReportingEngine(object):
def spot(self, spot):
for r in self.reporters:
if not isinstance(r, FilteredReporter) or spot["mode"] in r.getSupportedModes():
try:
r.spot(spot)
except Exception:
logger.exception("error sending spot to reporter")