chore: better wording, make user calm
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user