chore: better wording, make user calm

This commit is contained in:
2026-09-17 18:44:56 +02:00
committed by duan_j
parent 1b6a32d137
commit 7458ea0400
+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