micronaut-projects / micronaut-cache

This project includes caching support for Micronaut

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Reactive @Cacheable method wraps original exeption into CompletionException

Im-dex opened this issue · comments

Steps to Reproduce

  1. Create reactive @Cacheable method
  2. Return an error from this method

Expected Behaviour

The original exception should be returned

Actual Behaviour

CompletionException, wrapping original exception, is returned

Environment Information

  • Operating System: Win10
  • Micronaut Version: 2.3.4, 2.4.0
  • JDK Version: 11, 15

Example Application

https://github.com/Im-dex/cacheable-bug

commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Still actual

Seems to be fixed in master see #304