-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Labels
Milestone
Description
Following #247, I noticed that we're silently ignoring empty messages.
Line 493 in 0ec0b31
| argo_id = self._send_msg_ams(text, msgid) |
_send_msg_ams will return None for an empty message and the code here will log as if the message was sent:
Line 495 in 0ec0b31
| log_string = "Sent %s, Argo ID: %s" % (msgid, argo_id) |
We should wrap that in an if...else and log a different message if the message wasn't sent, perhaps a warning.
Reactions are currently unavailable