GH-508 Fix casting of the exception in AzureSpringBootRequestHandler

This commit is contained in:
Oleg Zhurakousky
2020-04-27 13:37:29 +02:00
parent 96f1931a4b
commit e2beafb13f

View File

@@ -96,7 +96,7 @@ public class AzureSpringBootRequestHandler<I, O> extends AbstractSpringFunctionA
if (context != null) {
context.getLogger().throwing(getClass().getName(), "handle", ex);
}
throw (RuntimeException) ex;
throw new RuntimeException(ex);
}
}