aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/_emerge/AsynchronousTask.py')
-rw-r--r--lib/_emerge/AsynchronousTask.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/_emerge/AsynchronousTask.py b/lib/_emerge/AsynchronousTask.py
index ec5497b69..aaab7433a 100644
--- a/lib/_emerge/AsynchronousTask.py
+++ b/lib/_emerge/AsynchronousTask.py
@@ -102,7 +102,7 @@ class AsynchronousTask(SlotObject):
"""
if self.returncode is None:
if self.scheduler.is_running():
- raise asyncio.InvalidStateError('Result is not ready.')
+ raise asyncio.InvalidStateError('Result is not ready for %s' % (self,))
self.scheduler.run_until_complete(self.async_wait())
self._wait_hook()
return self.returncode