Make worker startup non-fatal
This commit is contained in:
@@ -84,7 +84,10 @@ class ContractsApp:
|
||||
def __init__(self):
|
||||
self.app = Flask(__name__)
|
||||
schema.ensure_schema()
|
||||
try:
|
||||
redis_worker.start_worker()
|
||||
except Exception as e:
|
||||
_log("redis_worker_start_error", str(e))
|
||||
self._add_routes()
|
||||
|
||||
def _add_routes(self):
|
||||
|
||||
Reference in New Issue
Block a user