mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-11-27 17:35:07 +01:00
Fail app start if initalization fails
This commit is contained in:
parent
1dfc89e79f
commit
57b4f844b7
1 changed files with 1 additions and 0 deletions
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue