Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add error message when reaching co-routine timeout for http requests #98

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

pvannierop
Copy link
Contributor

@pvannierop pvannierop commented Nov 27, 2024

Problem

When the timeout is reached for http requests, runAsCoroutine returns a HttpServerUnavailableException without a message. This resulted in difficulty finding the source of the error for requests that are ok to take a longer time very difficult.

Solution

This PR will add a message to the exception that clearly states the reason for the thrown timeout exception.

@pvannierop pvannierop requested a review from keyvaann November 27, 2024 08:19
@pvannierop pvannierop self-assigned this Nov 27, 2024
Copy link

@keyvaann keyvaann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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