-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: preserve auth errors in cloudrunner.WrapTransient
Currently when wrapping errors containing codes `Unauthenticated` and `PermissionDenied` they're wrapped in `codes.Internal`. These are both client errors that should be communicated. Check for these codes and preserve them.
- Loading branch information
Anders Jansson
committed
Nov 10, 2021
1 parent
8042d8b
commit d62a6a3
Showing
2 changed files
with
11 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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
This file contains 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