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

Fix exception thrown when using a custom error decoder with metrics #1468

Merged
merged 3 commits into from Jul 26, 2021
Merged

Fix exception thrown when using a custom error decoder with metrics #1468

merged 3 commits into from Jul 26, 2021

Conversation

DarkAtra
Copy link
Contributor

Fixes #1466

} catch (Exception e) {
throw e;
} catch (Throwable e) {
throw new Exception(e);
Copy link
Member

Choose a reason for hiding this comment

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

I saw no reason to have this layer of try catches... removed

@velo velo merged commit 7861fbc into OpenFeign:master Jul 26, 2021
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.

Exception Metrics cause IllegalArgumentException when using custom ErrorDecoders
2 participants