use BaseException

This commit is contained in:
Jakub Trllo 2022-08-23 16:39:31 +02:00
parent fce4e6e3d8
commit c393105e25

View file

@ -646,7 +646,7 @@ def create_qthread(func, *args, **kwargs):
def run(self):
try:
func(*args, **kwargs)
except:
except BaseException:
traceback.print_exception(*sys.exc_info())
raise
return Thread()