mirror of
https://github.com/bec-project/ophyd_devices.git
synced 2026-07-27 17:42:55 +02:00
fix(psi-motor): EpicsMotorEC was always skipping the extra check if motion failed
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user