Fail app start if initalization fails

This commit is contained in:
sabaimran 2024-09-30 17:30:06 -07:00
parent 1dfc89e79f
commit 57b4f844b7

View file

@ -192,6 +192,7 @@ def initialize_server(config: Optional[FullConfig]):
configure_server(config, init=True)
except Exception as e:
logger.error(f"🚨 Failed to configure server on app load: {e}", exc_info=True)
raise e
def configure_server(