Skip to content

fix: log errors instead of silently swallowing prompt failures#44

Open
andrewwhitecdw wants to merge 6 commits into
malhashemi:mainfrom
andrewwhitecdw:andrewwhitecdw/fix/log-prompt-errors
Open

fix: log errors instead of silently swallowing prompt failures#44
andrewwhitecdw wants to merge 6 commits into
malhashemi:mainfrom
andrewwhitecdw:andrewwhitecdw/fix/log-prompt-errors

Conversation

@andrewwhitecdw

Copy link
Copy Markdown

Bug

Two try/catch blocks around session.prompt() calls silently discarded errors, making it impossible to diagnose why messages were not delivered after idle/compaction events.

Fix

Log caught errors to console.error with context about which session and event type failed.

Verification

git diff shows only the two catch blocks now call console.error. No functional behavior changes.

andrewwhitecdw and others added 6 commits February 21, 2026 15:37
Adds 4 custom checks based on AGENTS.md conventions:
- TypeScript type check
- Code style review
- Commit message format
- Architecture review
Remove filler documentation that described non-existent columns
(Messages, First, Last, Agents) and inline single-use header/separator
variables.

Generated with [Continue](https://continue.dev)

Co-Authored-By: Continue <noreply@continue.dev>
Co-authored-by: andrew-white-1 <andrewh@cdw.com>
Add Continue AI checks for PR review
Two try/catch blocks around session.prompt calls silently discarded
errors. Log them to console.error so operators can diagnose why
messages are not being delivered after idle/compaction events.

Signed-off-by: Andrew White <andrewh@cdw.com>
@gemini-code-assist

Copy link
Copy Markdown
Contributor

Caution

The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant