We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 32135c0 commit c673709Copy full SHA for c673709
1 file changed
src/app/utils/ai.py
@@ -29,5 +29,5 @@ def generate_description(user_prompt, description_type):
29
return data.get("result"), data.get("error_code"), data.get("error_message")
30
except json.JSONDecodeError:
31
return "", 1, "Error with decoding the response"
32
- except Exception as _:
33
- return "", 1, "Error occurred with LLM service"
+ except Exception as e:
+ return "", 1, f"Error occurred with LLM service: {e}"
0 commit comments