adobe / aio-lib-java

Adobe I/O - Java SDK
https://opensource.adobe.com/aio-lib-java/
Apache License 2.0
5 stars 17 forks source link

IMS Service `getAccessToken` Should hide exceptions #198

Open bstopp opened 7 months ago

bstopp commented 7 months ago

Expected Behaviour

When an exception occurs in the fetching of a new Access token, the IMS Service should capture any possible Feign runtime exceptions and either:

a) log it, returning nothing. b) Transform it the exception into a meaningful, recoverable or non-recoverable state.

Actual Behaviour

All of the Feign runtime exceptions bubble up to the caller.