mirror of
https://github.com/Schrolli91/BOSWatch.git
synced 2026-04-05 06:25:10 +00:00
edit plugin debug messages
This commit is contained in:
parent
c85ce2b158
commit
70c57bda44
4 changed files with 17 additions and 15 deletions
|
|
@ -33,14 +33,16 @@ def run(typ,freq,data):
|
|||
except:
|
||||
logging.exception("cannot read config file")
|
||||
|
||||
########## User Plugin CODE ##########
|
||||
if typ == "FMS":
|
||||
logging.debug(typ + " not supported")
|
||||
logging.warning("%s not supported", typ)
|
||||
elif typ == "ZVEI":
|
||||
logging.debug(typ + " not supported")
|
||||
logging.warning("%s not supported", typ)
|
||||
elif typ == "POC":
|
||||
logging.debug(typ + " not supported")
|
||||
logging.warning("%s not supported", typ)
|
||||
else:
|
||||
logging.warning(typ + " not supported")
|
||||
logging.warning("Invalid Typ: %s", typ)
|
||||
########## User Plugin CODE ##########
|
||||
|
||||
except:
|
||||
logging.exception("unknown error")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue