log failing messages instead of crashing
This commit is contained in:
parent
35a96388b9
commit
a66fa95a13
|
@ -94,4 +94,7 @@ def reply(
|
|||
our_reply.quote = quote
|
||||
if attachment:
|
||||
our_reply.set_file(attachment)
|
||||
chat.send_msg(our_reply)
|
||||
try:
|
||||
chat.send_msg(our_reply)
|
||||
except ValueError:
|
||||
print(text)
|
||||
|
|
Loading…
Reference in a new issue