Originally created by: raphaelsolarski
Describe the bug
Standalone - test from file - exceptions thrown directly from ServiceWithExplicitMethod.invokeService() are not logged.
This makes error searching very difficult and requires uploading the model with its own catching+logging of exceptions (thrown during Future construction).
To Reproduce
Create model with ServiceWithExplicitMethod which throws RuntimeException in invokeService().
:::scala
override def invokeService(params: List[AnyRef])(implicit ec: ExecutionContext, collector: InvocationCollectors.ServiceInvocationCollector, metaData: MetaData): Future[AnyRef] = {
throw new RuntimeException("Some exception") // this won't be logged at all
// Future.failed(new RuntimeException("Some exception")) // this would be logged
}
Create proces source -> service -> sink.
Environment (please complete the following information):