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:
parent
5deaf4cfd9
commit
09fbaedb16
@ -481,7 +481,10 @@ class SecopClient(ProxyClient):
|
|||||||
continue
|
continue
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
e.args = (f'error handling SECoP message {reply!r}: {e}',)
|
e.args = (f'error handling SECoP message {reply!r}: {e}',)
|
||||||
|
try:
|
||||||
self.callback(None, 'handleError', e)
|
self.callback(None, 'handleError', e)
|
||||||
|
except Exception:
|
||||||
|
pass
|
||||||
continue
|
continue
|
||||||
try:
|
try:
|
||||||
key = action, ident
|
key = action, ident
|
||||||
|
Loading…
x
Reference in New Issue
Block a user