Skip to content

Commit 9f52097

Browse files
committed
refactor: change error message so it's not specific to just out
1 parent 6085414 commit 9f52097

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dodal/devices/scintillator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ async def _check_aperture_parked(self):
8585
!= ApertureValue.PARKED
8686
):
8787
raise ValueError(
88-
f"Cannot move scintillator out if aperture/scatterguard is not parked. Position is currently {await self._aperture_scatterguard().selected_aperture.get_value()}"
88+
f"Cannot move scintillator if aperture/scatterguard is not parked. Position is currently {await self._aperture_scatterguard().selected_aperture.get_value()}"
8989
)
9090

9191
async def _set_selected_position(self, position: InOut) -> None:

0 commit comments

Comments
 (0)