change exception-handling

- only error-msg instead of logging.exception
- second logging.debug with exec-trace
This commit is contained in:
JHCD 2015-06-23 18:37:32 +02:00
parent 74c804f4c3
commit c32beae4bb
5 changed files with 75 additions and 22 deletions

View file

@ -51,6 +51,8 @@ def run(typ,freq,data):
except:
logging.error("cannot read config file")
logging.debug("cannot read config file", exc_info=True)
# Without config, plugin couldn't work
return
try:
#