Skip to content

Fix blank error message on failed Claude agent runs#947

Merged
dersam merged 1 commit into
mainfrom
15-06/result-message-bug
Jun 15, 2026
Merged

Fix blank error message on failed Claude agent runs#947
dersam merged 1 commit into
mainfrom
15-06/result-message-bug

Conversation

@LasmarKhalifa

@LasmarKhalifa LasmarKhalifa commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

When content is nil, we're setting it as "", which makes @content evaluate to true and we never hit the || hash.dig(:error, :message) || "Unknown error" branches.

Copy link
Copy Markdown
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@LasmarKhalifa LasmarKhalifa force-pushed the 15-06/result-message-bug branch from 51c7f4e to dc174df Compare June 15, 2026 14:53
@LasmarKhalifa LasmarKhalifa force-pushed the 15-06/result-message-bug branch from dc174df to 79d504c Compare June 15, 2026 14:57
@LasmarKhalifa LasmarKhalifa marked this pull request as ready for review June 15, 2026 14:58
@dersam dersam merged commit 7bfcb2a into main Jun 15, 2026
3 checks passed
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.

2 participants