Skip to content

fix(wb-mcp-server): Return detailed error messages instead of exit codes#435

Open
anshisax wants to merge 1 commit into
masterfrom
fix-mcp-error-messages-clean
Open

fix(wb-mcp-server): Return detailed error messages instead of exit codes#435
anshisax wants to merge 1 commit into
masterfrom
fix-mcp-error-messages-clean

Conversation

@anshisax

Copy link
Copy Markdown

Previously, when wb commands failed, the MCP server only returned generic exit codes (e.g., 'Error: exit status 1') without the actual error message.

Now includes command output with the error:

Testing with folder resource called "testingdelete" in verily internal testing workspace:
Before: Error: exit status 2
After: Command failed with exit status 2:
Error: invalid argument 'testingdelete' for '--id' flag: invalid UUID length: 14

Previously, when wb commands failed, the MCP server only returned generic
exit codes (e.g., 'Error: exit status 1') without the actual error message.

Now includes command output with the error:

Before: Error: exit status 2
After:  Command failed with exit status 2:
        Error: invalid argument 'testingdelete' for '--id' flag: invalid UUID length: 14

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@anshisax anshisax requested review from a team as code owners June 17, 2026 21:40
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