Skip to content

Update error message for canceled root context - #4671

Merged
oliversun9 merged 3 commits into
mainfrom
osun/interrupt-error-message
Sep 10, 2026
Merged

Update error message for canceled root context#4671
oliversun9 merged 3 commits into
mainfrom
osun/interrupt-error-message

Conversation

@oliversun9

Copy link
Copy Markdown
Contributor

This updates the error message when the user presses ctrl-C.

Before

buf registry organization info buf.build/bufbuild
^CFailure: canceled: context canceled

After

buf registry organization info buf.build/bufbuild
^CFailure: interrupted

@github-actions

github-actions Bot commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

The latest Buf updates on your PR. Results from workflow Buf CI / buf (pull_request).

BuildFormatLintBreakingUpdated (UTC)
✅ passed✅ passed✅ passed✅ passedSep 9, 2026, 11:16 PM

@doriable

Copy link
Copy Markdown
Member

This is a more indicative message of what is happening, so I'm on board with this.

@oliversun9
oliversun9 merged commit 5303e6b into main Sep 10, 2026
10 checks passed
@oliversun9
oliversun9 deleted the osun/interrupt-error-message branch September 10, 2026 14:52
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