Skip to content

fix(provider-cursor): include stderr output in error messages#63

Open
tt-a1i wants to merge 1 commit intoaidenybai:mainfrom
tt-a1i:fix/include-stderr-in-error
Open

fix(provider-cursor): include stderr output in error messages#63
tt-a1i wants to merge 1 commit intoaidenybai:mainfrom
tt-a1i:fix/include-stderr-in-error

Conversation

@tt-a1i
Copy link
Contributor

@tt-a1i tt-a1i commented Dec 10, 2025

Summary

When cursor-agent exits with a non-zero code, include the stderr output in the error message returned to the client.

Before:

Error: cursor-agent exited with code 1

After:

Error: cursor-agent exited with code 1
<actual stderr output here>

Changes

  • Collect stderr output in a buffer
  • Include stderr in error message when process exits with non-zero code

This makes debugging much easier since users can now see the actual error from cursor-agent.

Fixes #59

When cursor-agent exits with non-zero code, include the stderr output
in the error message returned to the client. This makes debugging
much easier as users can see the actual error from cursor-agent.

Fixes aidenybai#59
@vercel
Copy link

vercel bot commented Dec 10, 2025

@tt-a1i is attempting to deploy a commit to the Million Team on Vercel.

A member of the Team first needs to authorize it.

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.

"Error: cursor-agent exited with code 1" when using Cursor agent integration

1 participant

Comments