mirror of
https://github.com/Schrolli91/BOSWatch.git
synced 2026-04-13 02:13:36 +00:00
change exception-handling
- only error-msg instead of logging.exception - second logging.debug with exec-trace
This commit is contained in:
parent
d6b9174112
commit
3280c68737
5 changed files with 25 additions and 13 deletions
|
|
@ -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)
|
||||
Loading…
Add table
Add a link
Reference in a new issue