chore: better wording, make user calm

This commit is contained in:
2026-09-17 14:27:19 +02:00
committed by duan_j
parent 8bd7e30e0b
commit ccbea75d54
+3 -1
View File
@@ -94,7 +94,9 @@ async def _lock_hw():
yield
else:
if not hardware_busy_lock.acquire(blocking=False):
raise BeamlineBusyException("Beamline hardware lock is held by another worker")
raise BeamlineBusyException(
"Beamline is busy with another operation. Please try again later."
)
logger.debug("Hardware lock acquired by process")
try:
yield