core (memory/disco): fixed failure creation in infosEb
This commit is contained in:
parent
60522948f5
commit
beb098b20a
1 changed files with 1 additions and 1 deletions
|
|
@ -189,7 +189,7 @@ class Discovery(object):
|
|||
def infosEb(fail):
|
||||
if fail.check(defer.CancelledError):
|
||||
reason = "request time-out"
|
||||
fail = failure.Failure(exceptions.TimeOutError(fail.message))
|
||||
fail = failure.Failure(exceptions.TimeOutError(str(fail.value)))
|
||||
else:
|
||||
try:
|
||||
reason = str(fail.value)
|
||||
|
|
|
|||
Loading…
Reference in a new issue