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

Log webclient request on response errors #2000

Merged
merged 4 commits into from
Jan 8, 2025

Conversation

kasmarian
Copy link
Member

@kasmarian kasmarian commented Jan 7, 2025

Description

When WebClient's call times out, the request is not logged together with the response, as both operations are delayed by the callback approach. I'm calling a requestWritingStage.write(); on timeouts errors.

Motivation and Context

#1876

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.

@kasmarian kasmarian added the bugfix Bug fixes and patches label Jan 7, 2025
@ChristianLohmann
Copy link
Member

👍

@kasmarian kasmarian changed the title Log webclient request on response timeouts Log webclient request on response errors Jan 8, 2025
@kasmarian kasmarian merged commit 8d8a91a into main Jan 8, 2025
4 checks passed
@kasmarian kasmarian deleted the #1876/log-webclient-request-on-timeout branch January 8, 2025 12:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix Bug fixes and patches
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants