Skip to content

Commit e668bc1

Browse files
committed
log the exception in wait_for_predicate
1 parent 6489cab commit e668bc1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/test_base.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@ def wait_for_predicate(self, predicate, timeout=5 * 60, interval=5):
8484
try:
8585
if predicate():
8686
return
87-
except Exception:
87+
except Exception as e:
88+
self.log.info(e)
8889
pass
8990
sleep(interval)
9091
timeout -= interval

0 commit comments

Comments
 (0)