mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 22:13:26 +00:00
python: Use format string for logging str(obj).
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
fcd81a8473
commit
b45484573e
@@ -958,7 +958,7 @@ class EmbeddedBotWorker(QueueProcessingWorker):
|
||||
bot_handler=self.get_bot_api_client(user_profile),
|
||||
)
|
||||
except EmbeddedBotQuitException as e:
|
||||
logging.warning(str(e))
|
||||
logging.warning("%s", e)
|
||||
|
||||
|
||||
@assign_queue("deferred_work")
|
||||
|
||||
Reference in New Issue
Block a user