replay bug with spring data elastic search

Hi Allard,

When using elasticsearch in a handler, a replay will catch a runtime error generated by elasticsearch SearchService.
This happens unconditionally if you use elasticsearch in this handler or not.
As a workaround I would like to patch: public Object invokeHandlerMethod(Message parameter) in
package org.axonframework.common.annotation.MessageHandlerInvoker so that this specific Exception is not killing the replay.

Is this the worst Idea you can imagine or should I proceed?

ro

nevermind! debugger and logger plays ugly trick, not showing that some code was already executed, so the error is found.