OpenFeign/feign

RetryableException requires Request

Open

#1,296 opened on 2020年10月27日

GitHub で見る
 (1 comment) (0 reactions) (0 assignees)Java (9,070 stars) (1,911 forks)batch import
help wantedproposal

説明

The constructors for RetryableException were updated in #1039 to require the original Request object. In some cases the Request may contain sensitive information and never be used from the RetryableException, so it would be nice to have an option to create one without the Request to limit surface area.

Additionally, FeignException already exposes a hasRequest() method, so clients would be able to check whether RetryableException has a Request before attempting to access it.

I'd be more than happy to open a PR if this sounds like a reasonable use case. Thanks!

コントリビューターガイド

RetryableException requires Request · OpenFeign/feign#1296 | Good First Issue