frappy.client: catch all errors in handleError callback

put try/execpt around handleError callback

Change-Id: I3d97f085556665189da848e52a7148248f55eb0e
Reviewed-on: https://forge.frm2.tum.de/review/c/secop/frappy/+/34955
Tested-by: Jenkins Automated Tests <pedersen+jenkins@frm2.tum.de>
Reviewed-by: Markus Zolliker <markus.zolliker@psi.ch>
This commit is contained in:
zolliker 2024-11-14 08:19:26 +01:00
parent 5deaf4cfd9
commit 09fbaedb16

View File

@ -481,7 +481,10 @@ class SecopClient(ProxyClient):
continue
except Exception as e:
e.args = (f'error handling SECoP message {reply!r}: {e}',)
try:
self.callback(None, 'handleError', e)
except Exception:
pass
continue
try:
key = action, ident