summaryrefslogtreecommitdiffstats
path: root/src/osmo_gsm_tester/event_loop.py
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2018-05-28 12:46:42 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2018-05-28 14:01:12 +0200
commite523665e9c718f3e8c355c69db67bb12c7e85a98 (patch)
tree444cba76a396193bcacdbb2298a7920066009e1a /src/osmo_gsm_tester/event_loop.py
parent7f4807a4bca610694ce44dd58bb6597a068ac869 (diff)
event_loop: Log parameters during wait timeout exception
Diffstat (limited to 'src/osmo_gsm_tester/event_loop.py')
-rw-r--r--src/osmo_gsm_tester/event_loop.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osmo_gsm_tester/event_loop.py b/src/osmo_gsm_tester/event_loop.py
index 64a110d..0f647c2 100644
--- a/src/osmo_gsm_tester/event_loop.py
+++ b/src/osmo_gsm_tester/event_loop.py
@@ -109,7 +109,7 @@ class EventLoop:
def wait(self, log_obj, condition, *condition_args, timeout=300, timestep=1, **condition_kwargs):
if not self.wait_no_raise(log_obj, condition, condition_args, condition_kwargs, timeout, timestep):
log.ctx(log_obj)
- raise log.Error('Wait timeout')
+ raise log.Error('Wait timeout', condition=condition, timeout=timeout, timestep=timestep)
def sleep(self, log_obj, seconds):
assert seconds > 0.