From 780d5b30fdc271f670c09369c1a0a692f89e7fc2 Mon Sep 17 00:00:00 2001 From: Maxim Slipenko Date: Wed, 14 Feb 2024 15:40:41 +0300 Subject: [PATCH] =?UTF-8?q?fix:=20=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=20=D0=B1=D0=BE=D0=BB=D0=B5=D0=B5=20=D0=BF=D0=BE?= =?UTF-8?q?=D0=B4=D1=80=D0=BE=D0=B1=D0=BD=D1=8B=D0=B9=20=D0=B2=D1=8B=D0=B2?= =?UTF-8?q?=D0=BE=D0=B4=20=D0=BE=D1=88=D0=B8=D0=B1=D0=BE=D0=BA=20=D0=B2=20?= =?UTF-8?q?=D0=BA=D0=BE=D0=BD=D1=81=D0=BE=D0=BB=D1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- statapp/utils.py | 4 ++++ 1 file changed, 4 insertions(+) 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)