mirror of
https://github.com/Schrolli91/BOSWatch.git
synced 2026-04-05 14:35:17 +00:00
edit plugin debug messages
This commit is contained in:
parent
c85ce2b158
commit
70c57bda44
4 changed files with 17 additions and 15 deletions
|
|
@ -40,7 +40,7 @@ def run(typ,freq,data):
|
|||
cursor.execute("INSERT INTO "+globals.config.get("MySQL","tablePOC")+" (time,ric,funktion,text) VALUES (NOW(),%s,%s,%s)",(data["ric"],data["function"],data["msg"]))
|
||||
|
||||
else:
|
||||
logging.warning(typ + " not supportet")
|
||||
logging.warning("Invalid Typ: %s", typ)
|
||||
except:
|
||||
logging.exception("cannot Insert %s", typ)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue