You may pass injected Logger instance to parallel execution, just like you do normally.
On Thu, Nov 19, 2015 at 5:07 PM, Nathan Quirynen < [email protected]> wrote: > Hi, > > When using the ParallelExecutor exceptions thrown seem to be ignored in > some way? The invokable just stops when there's an error somewhere, but no > exception is being logged, making it hard to find the problem. > How can I get exceptions happening in the invokable getting logged? > > Simple example page: > > > public class TestPage { > > @Inject > private ParallelExecutor parallelExecutor; > > void setupRender() { > parallelExecutor.invoke(new Invokable<String>() { > @Override > public String invoke() { > throw new RuntimeException("TEST EXCEPTION"); > } > }); > } > > } > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Ilya Obshadko
