From 4137b1e6e664af3ce1790fcf9b1a5b754fd99547 Mon Sep 17 00:00:00 2001 From: RumovZ Date: Mon, 25 Apr 2022 08:31:15 +0200 Subject: [PATCH] Fix exception printing for QueryOp as well --- qt/aqt/operations/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qt/aqt/operations/__init__.py b/qt/aqt/operations/__init__.py index 2eaf833b8..febe60ef8 100644 --- a/qt/aqt/operations/__init__.py +++ b/qt/aqt/operations/__init__.py @@ -244,7 +244,7 @@ class QueryOp(Generic[T]): if self._failure: self._failure(exception) else: - showWarning(str(exception), self._parent) + show_exception(parent=self._parent, exception=exception) return else: # BaseException like SystemExit; rethrow it