Handle "FlowableException: Could not deserialize event to json"

I have send event task with accepts some body configured in the *.event files. When i publish message on queue everything works fine. In case when I forget to add “content_type:application/json” the application throws exception like followng:
“FlowableException: Could not deserialize event to json”
That works as I expected, but the problem is I cannot handle it and do some buissnes logic after the exception occured. When the exception heppens flowable is trying to read a meassage again and again cousing the app to crash.
The problem can be simplified into: “how handle runtime exception and move flow of flowable in send event task”.
Big help needed!