diff --git a/statapp/utils.py b/statapp/utils.py index 4e8b1b5..5205dc6 100644 --- a/statapp/utils.py +++ b/statapp/utils.py @@ -17,6 +17,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . # +import logging import os import sys @@ -71,8 +72,11 @@ def onError(errorName: Exception): QMessageBox.Ok, QMessageBox.Ok) + logging.exception(errorName) + msgBox.exec_() + class FloatDelegate(QStyledItemDelegate): def __init__(self, parent=None): QStyledItemDelegate.__init__(self, parent=parent)