Skip to content

fix: print pull request description error message (NO-TICKET)#112

Merged
robaone-redshelf merged 1 commit into
developfrom
ar-NA-show-error-message
Sep 28, 2025
Merged

fix: print pull request description error message (NO-TICKET)#112
robaone-redshelf merged 1 commit into
developfrom
ar-NA-show-error-message

Conversation

@robaone-redshelf

@robaone-redshelf robaone-redshelf commented Sep 28, 2025

Copy link
Copy Markdown
Contributor

Description:

When the AI speaks in riddles, we now speak back with clarity. This PR adds a fail-safe to catch malformed responses from the Gemini API, ensuring we don’t silently stumble over missing parts or text. Now, if the structure isn’t right, we log the issue loud and clear and exit gracefully—no more mysterious crashes in the dark.

Ticket:

https://virdocs.atlassian.net/browse/${ticketId}

Changes: (complexity: 2)

  • Added error handling for invalid Gemini API response structure

Validation:

  • Simulated malformed response and confirmed error message is logged and process exits as expected

@robaone-redshelf robaone-redshelf marked this pull request as ready for review September 28, 2025 20:56
@robaone-redshelf robaone-redshelf merged commit 9024f6a into develop Sep 28, 2025
22 checks passed
@robaone-redshelf robaone-redshelf deleted the ar-NA-show-error-message branch September 28, 2025 20:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant