Polishing

See gh-22915
This commit is contained in:
Sebastien Deleuze 2019-09-04 18:24:07 +02:00
parent ff271894fe
commit 70bbe71235
1 changed files with 2 additions and 2 deletions

View File

@ -327,8 +327,8 @@ public abstract class TransactionAspectSupport implements BeanFactoryAware, Init
if (this.reactiveAdapterRegistry != null) {
if (KotlinDetector.isKotlinType(method.getDeclaringClass()) && KotlinDelegate.isSuspend(method)) {
throw new TransactionUsageException("Annotated transactions on suspending functions are not supported," +
" use TransactionalOperator.transactional extensions instead.");
throw new TransactionUsageException("Unsupported annotated transaction on suspending function detected: "
+ method + ". Use TransactionalOperator.transactional extensions instead.");
}
ReactiveAdapter adapter = this.reactiveAdapterRegistry.getAdapter(method.getReturnType());
if (adapter != null) {