From 72c04a7582ef9d83f3fd99149a67e6723356ef4f Mon Sep 17 00:00:00 2001 From: thedragonsinn <98635854+thedragonsinn@users.noreply.github.com> Date: Tue, 28 Jan 2025 14:02:10 +0530 Subject: [PATCH] bugfix openai --- app/plugins/ai/openai.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/plugins/ai/openai.py b/app/plugins/ai/openai.py index ee6d724..f63c8a9 100644 --- a/app/plugins/ai/openai.py +++ b/app/plugins/ai/openai.py @@ -43,7 +43,7 @@ except Exception as e: try: DALL_E_CLIENT = AI_CLIENT(**image_init_kwargs) -except: +except Exception as e: LOGGER.error(e) DALL_E_CLIENT = None