Skip to content

Commit

Permalink
Merge pull request #5781 from marmelab/Fix-uncaught-error-on-dataProv…
Browse files Browse the repository at this point in the history
…ider-failure-in-undoable-edit

Fix uncaught error when dataProvider fails on undoable forms
  • Loading branch information
djhi committed Jan 15, 2021
2 parents cd011ba + 2700652 commit 5d10a04
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/ra-core/src/dataProvider/useDataProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,6 @@ const performUndoableQuery = ({
});
dispatch({ type: FETCH_ERROR, error });
onFailure && onFailure(error);
throw error;
});
});
} catch (e) {
Expand Down

0 comments on commit 5d10a04

Please sign in to comment.