Add Redis connection error handling in GetAndRefresh - #68182
Closed
4bitsteams wants to merge 6 commits into
Closed
Conversation
Co-authored-by: Weihan Li <weihanli@outlook.com>
Complete the OpenAPI dotnet-openapi tool by registering the AddProjectCommand that was previously implemented but not wired up. This enables users to add OpenAPI references from project files.
Use the more accurate UrlDecoder for URL form data decoding instead of Uri.UnescapeDataString which has known limitations with UTF-8 sequences and cross-platform behavior differences.
Implement error handling for Redis operations in the GetAndRefresh method by wrapping hash member get operations in try-catch to handle Redis connection failures gracefully. This addresses the TODO for error handling in cache retrieval operations. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Contributor
|
Thanks for your PR, @4bitsteams. Someone from the team will get assigned to your PR shortly and we'll get it reviewed. |
Author
|
community-contribution |
Member
|
Thanks for your interest in contributing. We will not be moving forward with this PR. It has no associated issue, contains unrelated changes, and as we've said multiple times - please review our contribution guidelines before submitting pull requests. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implement error handling for Redis operations in the GetAndRefresh method by wrapping hash member get operations in try-catch.
Co-Authored-By: Claude Haiku 4.5 noreply@anthropic.com