You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the @Cacheable annotation with sync=true parameter, the exceptions are thrown without calling the CacheErrorHandler for underlying cache issues.
**Expected behavior: ** Below code prints "Test Passed" and exit code is 0, logging the connection failure to Redis.
**Actual behavior: ** Below code throws connection exception, never logs the message, and exit code is 1.
When using the
@Cacheable
annotation withsync=true
parameter, the exceptions are thrown without calling theCacheErrorHandler
for underlying cache issues.**Expected behavior: ** Below code prints "Test Passed" and exit code is 0, logging the connection failure to Redis.
**Actual behavior: ** Below code throws connection exception, never logs the message, and exit code is 1.
If we change the sync=true to sync=false then the code works as expected, but when sync=true it fails and never calls the error handler.
The text was updated successfully, but these errors were encountered: