comparison sat/memory/disco.py @ 3194:12486cd4fa8b

core (memory/disco): minor log message change
author Goffi <goffi@goffi.org>
date Fri, 28 Feb 2020 10:06:38 +0100
parents 0318802dfe28
children e4d3ba75b1b2
comparison
equal deleted inserted replaced
3193:65d89a339dd3 3194:12486cd4fa8b
195 reason = str(fail.value) 195 reason = str(fail.value)
196 except AttributeError: 196 except AttributeError:
197 reason = str(fail) 197 reason = str(fail)
198 198
199 log.warning( 199 log.warning(
200 "Error while requesting disco infos from {jid}: {reason}".format( 200 "can't request disco infos from {jid}: {reason}".format(
201 jid=jid_.full(), reason=reason 201 jid=jid_.full(), reason=reason
202 ) 202 )
203 ) 203 )
204 204
205 # XXX we set empty disco in cache, to avoid getting an error or waiting 205 # XXX we set empty disco in cache, to avoid getting an error or waiting