diff --git a/app/core.py b/app/core.py index d5b0dff..e036ee9 100644 --- a/app/core.py +++ b/app/core.py @@ -22,6 +22,8 @@ def __init__(self): self.llm = LLM() except OpenAIError as e: self.status_queue.put(f'Set your OpenAPI API Key in Settings and Restart the App. Error: {e}') + except Exception as e: + self.status_queue.put(f'An error occurred during startup. Please fix and restart the app. Error: {e}') def execute_user_request(self, user_request: str) -> None: self.stop_previous_request()