Skip to content

Commit e84e35b

Browse files
committed
Add log message while witing for exposure time to reach 1 s
1 parent 07a1bfc commit e84e35b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/gort/recipes/calibrations.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,10 @@ async def recipe(
299299

300300
# Require a minimum exposure time.
301301
if exp_time < min_exp_time:
302+
self.gort.log.debug(
303+
f"Exposure time is too short ({exp_time:.1f} s). "
304+
"Waiting 2 seconds ..."
305+
)
302306
await asyncio.sleep(2)
303307
continue
304308

0 commit comments

Comments
 (0)