Refactor error handling in initialize_services function
This commit is contained in:
parent
d413bf167f
commit
3dbd459f2c
1 changed files with 1 additions and 1 deletions
|
|
@ -186,7 +186,7 @@ def initialize_services(fix_migration: bool = False, socketio_server=None):
|
|||
service_manager.register_factory(factory)
|
||||
except Exception as exc:
|
||||
logger.exception(exc)
|
||||
raise RuntimeError("Could not initialize services. Please check your settings.") from exc
|
||||
logger.error(f"Error initializing {factory}: {exc}")
|
||||
|
||||
# Test cache connection
|
||||
service_manager.get(ServiceType.CACHE_SERVICE)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue