Try to catch telegram api network issues and prevent bot crash.

This commit is contained in:
Alexandr Bogomyakov
2018-05-24 16:17:20 +03:00
parent b0ff3b9034
commit da9c098623

View File

@ -141,5 +141,7 @@ def do_action(update):
if __name__ == '__main__':
main()
try:
main()
except:
pass