mirror of
https://github.com/jketterl/openwebrx.git
synced 2025-12-06 07:12:09 +01:00
catch potential exception in reporters
This commit is contained in:
parent
ea1b0cecc2
commit
27d44aeca9
|
|
@ -68,4 +68,7 @@ class ReportingEngine(object):
|
||||||
def spot(self, spot):
|
def spot(self, spot):
|
||||||
for r in self.reporters:
|
for r in self.reporters:
|
||||||
if not isinstance(r, FilteredReporter) or spot["mode"] in r.getSupportedModes():
|
if not isinstance(r, FilteredReporter) or spot["mode"] in r.getSupportedModes():
|
||||||
r.spot(spot)
|
try:
|
||||||
|
r.spot(spot)
|
||||||
|
except Exception:
|
||||||
|
logger.exception("error sending spot to reporter")
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue