fix: [Mail] debug

pull/497/head
Terrtia 2020-05-12 09:53:31 +02:00
parent e938efa8d1
commit c2d47cdd61
No known key found for this signature in database
GPG Key ID: 1E1B1F50D84613D0
1 changed files with 1 additions and 0 deletions

View File

@ -157,6 +157,7 @@ if __name__ == "__main__":
err_mess = "Mails: processing timeout: {}".format(item_id)
print(err_mess)
publisher.info(err_mess)
signal.signal(signal.SIGALRM, timeout_handler)
continue
finally:
signal.alarm(0)