fix(psi-motor): EpicsMotorEC was always skipping the extra check if motion failed

This commit is contained in:
2026-06-16 21:18:54 +02:00
parent 3b502ad2f5
commit 2a7f135753
+1 -1
View File
@@ -332,7 +332,7 @@ class EpicsMotorEC(EpicsMotor):
def _check_motion_status(self) -> tuple[bool, Exception | None]:
success, exception = super()._check_motion_status()
if success:
if not success:
# Additionally check for ECMC errors
error = self.error.get(use_monitor=False)
if error: