PlaytikaOSS / feign-reactive

Reactive Feign client inspired by https://github.com/OpenFeign project
Apache License 2.0
618 stars 126 forks source link

WebReactiveFeign.Builder: use 'errorMapper' from configuration #649

Closed DmitryGlushkov closed 2 months ago

DmitryGlushkov commented 12 months ago

Problem

An 'errorMapper' provided via client configuration (ReactiveFeignBasicConfigurator) is ignored when it creates a client (WebReactiveHttpClient).

Fix

To check if 'errorMapper' is defined. If not, it usesthe default BiFunction.