Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
70d0d31e20 | |||
![]() |
5581786225 | ||
![]() |
66b4348957 |
@ -22,7 +22,6 @@ services:
|
||||
networks:
|
||||
- configurator
|
||||
- queues
|
||||
- monitoring
|
||||
environment:
|
||||
STAGE: "production"
|
||||
command: mailbox
|
||||
@ -39,5 +38,3 @@ networks:
|
||||
external: true
|
||||
queues:
|
||||
external: true
|
||||
monitoring:
|
||||
external: true
|
||||
|
@ -2,6 +2,7 @@ from concurrent.futures import ThreadPoolExecutor
|
||||
import datetime
|
||||
import json
|
||||
import os
|
||||
import traceback
|
||||
import uuid
|
||||
import zoneinfo
|
||||
import requests
|
||||
@ -57,6 +58,7 @@ class TasksHandlerMixin:
|
||||
success = True
|
||||
except Exception as exc:
|
||||
print(f'Error processing message id={task["id"]}, payload={task["payload"]}, exc={exc}')
|
||||
traceback.print_stack()
|
||||
success = False
|
||||
end = datetime.datetime.now(zoneinfo.ZoneInfo("Europe/Moscow"))
|
||||
if success:
|
||||
|
Loading…
Reference in New Issue
Block a user