diff --git a/src/renderers/Form/index.tsx b/src/renderers/Form/index.tsx index 1fdbf67c6..b568563fb 100644 --- a/src/renderers/Form/index.tsx +++ b/src/renderers/Form/index.tsx @@ -761,7 +761,12 @@ export default class Form extends React.Component { action.reload && this.reloadTarget(action.reload, store.data); action.close && this.closeTarget(action.close); }) - .catch(() => {}); + .catch(e => { + onFailed && onFailed(e, store.errors); + if (throwErrors) { + throw e; + } + }); } else if (action.actionType === 'reload') { store.setCurrentAction(action); action.target && this.reloadTarget(action.target, data);