Fix bug in logging.
This commit is contained in:
parent
e84fe3599b
commit
98b867f7b7
|
@ -144,7 +144,7 @@ class TransactionQueue(object):
|
||||||
deferred.errback(failure)
|
deferred.errback(failure)
|
||||||
|
|
||||||
def log_failure(failure):
|
def log_failure(failure):
|
||||||
logger.warn("Failed to send pdu", failure.value)
|
logger.warn("Failed to send pdu: %s", failure.value)
|
||||||
|
|
||||||
deferred.addErrback(log_failure)
|
deferred.addErrback(log_failure)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue