Skip to content

Comments

fix(http): make timeout errors easier to understand#3214

Open
SaurabhCodesAI wants to merge 1 commit intosuperplanehq:mainfrom
SaurabhCodesAI:fix/timeout-error-message
Open

fix(http): make timeout errors easier to understand#3214
SaurabhCodesAI wants to merge 1 commit intosuperplanehq:mainfrom
SaurabhCodesAI:fix/timeout-error-message

Conversation

@SaurabhCodesAI
Copy link
Contributor

Timeout errors currently show the raw Go error context deadline exceeded. This change returns a clear message like request timed out after 10s instead.

Fixes #3198

When an HTTP request times out, the error shown to the user is the raw Go error 'context deadline exceeded', which is not helpful. This change catches the deadline exceeded error and returns a human-readable message like 'request timed out after 10s' instead.

Fixes superplanehq#3198

Signed-off-by: saurabh <saurabhpareek228@gmail.com>
@cursor
Copy link

cursor bot commented Feb 21, 2026

You have run out of free Bugbot PR reviews for this billing cycle. This will reset on March 12.

To receive reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.

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.

HTTP component: make timeout errors easier to understand

1 participant