diff --git a/csaxs_bec/devices/jungfraujoch/jungfraujoch_preview.py b/csaxs_bec/devices/jungfraujoch/jungfraujoch_preview.py index a6cf358..56e1088 100644 --- a/csaxs_bec/devices/jungfraujoch/jungfraujoch_preview.py +++ b/csaxs_bec/devices/jungfraujoch/jungfraujoch_preview.py @@ -213,7 +213,8 @@ class JungfrauJochPreview: # pylint: disable=no-member r = self._socket.recv_multipart(flags=zmq.NOBLOCK) self._parse_data(r) - + except Exception as e: + logger.error(f"Error while receiving data from JFJ preview stream at {self.url}: {e}") finally: # Unsubscribe from the topic self._socket.setsockopt(zmq.UNSUBSCRIBE, ZMQ_TOPIC_FILTER)