mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
Fix exception printing for QueryOp as well
This commit is contained in:
parent
266362b917
commit
4137b1e6e6
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue