pass through any AttributeError
This commit is contained in:
parent
210203d628
commit
381147450d
@ -505,7 +505,8 @@ class RemoteEventHandler(object):
|
||||
if exc is not None:
|
||||
# PySide6 6.1.0 does an attribute lookup for feature testing
|
||||
# in such a case, failure is normal
|
||||
if excStr[-1] not in ["AttributeError: 'function' object has no attribute 'im_func'\n"]:
|
||||
normal = ["AttributeError"]
|
||||
if not any(excStr[-1].startswith(x) for x in normal):
|
||||
warnings.warn("===== Remote process raised exception on request: =====", RemoteExceptionWarning)
|
||||
warnings.warn(''.join(excStr), RemoteExceptionWarning)
|
||||
warnings.warn("===== Local Traceback to request follows: =====", RemoteExceptionWarning)
|
||||
|
Loading…
Reference in New Issue
Block a user