From beb098b20af5a13900b3abea916d586bf2a6f542 Mon Sep 17 00:00:00 2001 From: Goffi Date: Mon, 3 Feb 2020 13:42:43 +0100 Subject: [PATCH] core (memory/disco): fixed failure creation in infosEb --- sat/memory/disco.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sat/memory/disco.py b/sat/memory/disco.py index cd30942f..8b1e5b9e 100755 --- a/sat/memory/disco.py +++ b/sat/memory/disco.py @@ -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)