Skip to content

Commit c673709

Browse files
committed
check
1 parent 32135c0 commit c673709

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/app/utils/ai.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,5 @@ def generate_description(user_prompt, description_type):
2929
return data.get("result"), data.get("error_code"), data.get("error_message")
3030
except json.JSONDecodeError:
3131
return "", 1, "Error with decoding the response"
32-
except Exception as _:
33-
return "", 1, "Error occurred with LLM service"
32+
except Exception as e:
33+
return "", 1, f"Error occurred with LLM service: {e}"

0 commit comments

Comments
 (0)