Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
scheduled_messages: Add logging on successful send.
Tim Abbott24bb03c89f6b
diff --git a/zerver/management/commands/deliver_scheduled_messages.py b/zerver/management/commands/deliver_scheduled_messages.pyindex 45b213e8b1c..924cc0ee63f 100644--- a/zerver/management/commands/deliver_scheduled_messages.py+++ b/zerver/management/commands/deliver_scheduled_messages.py@@ -38,6 +38,12 @@ Usage: ./manage.py deliver_scheduled_messages.first())if scheduled_message is not None:+ logger.info(+ "Sending scheduled message %s with date %s (sender: %s)",+ scheduled_message.id,+ scheduled_message.scheduled_timestamp,+ scheduled_message.sender_id,+ )send_scheduled_message(scheduled_message)continue