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 22:50:33 +02:00
parent d6b9174112
commit 3280c68737
5 changed files with 25 additions and 13 deletions

View file

@ -18,7 +18,6 @@ def printHeader(args):
@param args: All given arguments from argsparser
@return: nothing
@exception: Exception if display of the shell header failed
"""
try:
print " ____ ____ ______ __ __ __ "
@ -49,4 +48,5 @@ def printHeader(args):
print "Verbose Mode!"
print ""
except:
logging.exception("cannot display shell header")
logging.error("cannot display shell header")
logging.debug("cannot display shell header", exc_info=True)