Fix exception printing for QueryOp as well

This commit is contained in:
RumovZ 2022-04-25 08:31:15 +02:00
parent 266362b917
commit 4137b1e6e6

View file

@ -244,7 +244,7 @@ class QueryOp(Generic[T]):
if self._failure: if self._failure:
self._failure(exception) self._failure(exception)
else: else:
showWarning(str(exception), self._parent) show_exception(parent=self._parent, exception=exception)
return return
else: else:
# BaseException like SystemExit; rethrow it # BaseException like SystemExit; rethrow it