mirror of
https://github.com/zulip/zulip.git
synced 2025-11-19 05:58:25 +00:00
logging: Pass format arguments to logging.
https://docs.python.org/3/howto/logging.html#optimization Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
82f629091a
commit
bdc365d0fe
@@ -195,7 +195,7 @@ class ExceptionFreeTornadoConnection(pika.adapters.tornado_connection.TornadoCon
|
||||
pika.exceptions.ProbableAccessDeniedError,
|
||||
pika.exceptions.IncompatibleProtocolError) as e:
|
||||
logging.warning("Caught exception '%r' in ExceptionFreeTornadoConnection when \
|
||||
calling _adapter_disconnect, ignoring" % (e,))
|
||||
calling _adapter_disconnect, ignoring", e)
|
||||
|
||||
|
||||
class TornadoQueueClient(SimpleQueueClient):
|
||||
|
||||
Reference in New Issue
Block a user