How could I fix it? RequestBroker returns ExtendedResult which is directly passed to rest controller and then to UI. Should I change result type of RequestBroker.requestWorkflow() or make it throw some exception?