Fix logging NameError
This commit is contained in:
parent
b555df1061
commit
6dfed36dbe
1 changed files with 2 additions and 2 deletions
|
@ -46,7 +46,7 @@ if __name__ == "__main__":
|
||||||
# Start the context menu
|
# Start the context menu
|
||||||
ContextMenu()
|
ContextMenu()
|
||||||
except Exception as error:
|
except Exception as error:
|
||||||
log.exception(error)
|
log.error(error)
|
||||||
import traceback
|
import traceback
|
||||||
log.exception("Traceback:\n%s" % traceback.format_exc())
|
log.error("Traceback:\n%s" % traceback.format_exc())
|
||||||
raise
|
raise
|
||||||
|
|
Loading…
Reference in a new issue