fix: crash on bec init failure; beamline environment variable must be set explicitly #94
@@ -98,9 +98,7 @@ class BECClientWorker:
|
||||
self.__init_beamline_environment()
|
||||
except Exception as e:
|
||||
logger.error(f"Error initialising BEC devices: {e}")
|
||||
# raise self._raise_bec_error(e, operation="create planner")
|
||||
self.simulated = True
|
||||
|
||||
exit(1)
|
||||
logger.debug(f"simulated is {self.simulated}")
|
||||
|
||||
def __init_beamline_environment(self):
|
||||
|
||||
Reference in New Issue
Block a user