We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a6e55f commit 66d694dCopy full SHA for 66d694d
easypy/sync.py
@@ -911,8 +911,8 @@ def timeout_for_condition():
911
# NOTE: without a timeout we will never get here
912
if pred(): # Try one last time, to make sure the last check was not (possibly too long) before the timeout
913
return
914
- raise TimeoutException('{condition} timed out after {duration} waiting for {msg}',
915
- condition=self, msg=msg % args, duration=timer.elapsed)
+ raise TimeoutException('{condition} timed out after {duration}(out of {timeout}) waiting for {msg}',
+ condition=self, msg=msg % args, duration=timer.elapsed, timeout=timeout)
916
_logger.debug('%s - waiting for ' + msg, self, *args)
917
yield
918
0 commit comments