From c4a6d78656b68d19c1655c9412d37b05e2b19b48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CNaeel=E2=80=9D?= Date: Fri, 26 Jun 2026 12:51:10 +0400 Subject: [PATCH] Make worker startup non-fatal --- site/app.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/site/app.py b/site/app.py index b5b35e5..d4436f4 100644 --- a/site/app.py +++ b/site/app.py @@ -84,7 +84,10 @@ class ContractsApp: def __init__(self): self.app = Flask(__name__) schema.ensure_schema() - redis_worker.start_worker() + try: + redis_worker.start_worker() + except Exception as e: + _log("redis_worker_start_error", str(e)) self._add_routes() def _add_routes(self):