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

Update log lever for retry #94

Merged
merged 2 commits into from
Oct 12, 2024
Merged

Update log lever for retry #94

merged 2 commits into from
Oct 12, 2024

Conversation

ruhan1
Copy link
Contributor

@ruhan1 ruhan1 commented Oct 11, 2024

This if for MMENG-4192 Improve the response from gateway.

The error "java.io.IOException: Proxy retry interceptor reached an unexpected fall-through condition!" is because the retry counter reached the limit. This pr update the log level from debug to warn before retry fails so we can easily check the real error.

@ruhan1 ruhan1 requested a review from sswguo October 11, 2024 03:11
@sswguo
Copy link
Member

sswguo commented Oct 11, 2024

LGTM. Can we return/pass the error to user side ?

@ruhan1
Copy link
Contributor Author

ruhan1 commented Oct 12, 2024

LGTM. Can we return/pass the error to user side ?

The IOException will be passed to caller in response. I also add the failed req url in the message.

@sswguo
Copy link
Member

sswguo commented Oct 12, 2024

LGTM.

@ruhan1 ruhan1 merged commit 09d6ebb into Commonjava:master Oct 12, 2024
1 check passed
@ruhan1 ruhan1 deleted the master-warn branch October 12, 2024 07:23
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