feign
feign copied to clipboard
Is it possible to customize the length of the body in FeignException?
feign in master branch
I found that FeignException enforces the length of body not to exceed 400, use below two param:
private static final int MAX_BODY_BYTES_LENGTH = 400;
private static final int MAX_BODY_CHARS_LENGTH = 200;
Is there a way I can customize the length of these two variables to get more error messages?
Thank you!
I need this too. Any way to bump up the priority on this?
Hi @prashanth057 , feign is mainly run by volunteers. Either you need to get a volunteer interested to do it for you, or you file a PR for this and I will happily review it.
This can be closed as the proposal was merged right?