beremiz
Clone
Summary
Browse
Changes
Graph
wxPython4 sequels: fix Wx exceptions ignored because no traceback
2022-07-17, Edouard Tisserant
ee51d1deadfd
wxPython4 sequels: fix Wx exceptions ignored because no traceback
Some exception triggered on wxPython side have None as traceback,
and exception hanlder was discarding them.
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# See COPYING.Runtime file for copyrights details.
LogLevels = ["CRITICAL", "WARNING", "INFO", "DEBUG"]
LogLevelsCount = len(LogLevels)
LogLevelsDict = dict(zip(LogLevels, range(LogLevelsCount)))
LogLevelsDefault = LogLevelsDict["DEBUG"]