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
|
our_reply.quote = quote
|
||||||
if attachment:
|
if attachment:
|
||||||
our_reply.set_file(attachment)
|
our_reply.set_file(attachment)
|
||||||
|
try:
|
||||||
chat.send_msg(our_reply)
|
chat.send_msg(our_reply)
|
||||||
|
except ValueError:
|
||||||
|
print(text)
|
||||||
|
|
Loading…
Reference in a new issue