mirror of
https://github.com/Schrolli91/BOSWatch.git
synced 2026-04-04 14:07:25 +00:00
change exception-handling
- only error-msg instead of logging.exception - second logging.debug with exec-trace
This commit is contained in:
parent
c32beae4bb
commit
d6b9174112
10 changed files with 132 additions and 61 deletions
|
|
@ -48,7 +48,6 @@ def processAlarm(typ,freq,data):
|
|||
logging.debug("return from: %s", pluginName)
|
||||
except:
|
||||
# call next plugin, if one has thrown an exception
|
||||
logging.debug("return from: %s", pluginName, exc_info=True)
|
||||
pass
|
||||
else: # RegEX filter off - call plugin directly
|
||||
logging.debug("call Plugin: %s", pluginName)
|
||||
|
|
@ -57,9 +56,7 @@ def processAlarm(typ,freq,data):
|
|||
logging.debug("return from: %s", pluginName)
|
||||
except:
|
||||
# call next plugin, if one has thrown an exception
|
||||
logging.debug("return from: %s", pluginName, exc_info=True)
|
||||
pass
|
||||
logging.debug("[END ALARM]")
|
||||
except:
|
||||
logging.error("Error in Alarm processing")
|
||||
logging.debug("Error in Alarm processing", exc_info=True)
|
||||
logging.exception("Error in alarm processing")
|
||||
Loading…
Add table
Add a link
Reference in a new issue