fix: try set busy outside of catch-except
CI / lint (push) Skipped
CI / test (3.12) (push) Skipped
CI / test (3.13) (push) Skipped
CI / test-with-beamline-plugins (pxi_bec) (push) Skipped
CI / test-with-beamline-plugins (pxii_bec) (push) Skipped
CI / test-with-beamline-plugins (pxiii_bec) (push) Skipped

This commit is contained in:
2026-09-07 10:07:32 +02:00
parent 2816f354fa
commit cdb5832e3a
+1 -1
View File
@@ -2313,8 +2313,8 @@ class AareDAQ:
LoopCenteringFailed: If the centering sequence fails
"""
start = time.perf_counter()
self._cfg.try_set_busy(timeout=360)
try:
self._cfg.try_set_busy(timeout=360)
if sample is None:
if self.sample is None:
raise LoopCenteringFailed(