Skip to content

Commit 5d10a04

Browse files
authored
Merge pull request #5781 from marmelab/Fix-uncaught-error-on-dataProvider-failure-in-undoable-edit
Fix uncaught error when dataProvider fails on undoable forms
2 parents cd011ba + 2700652 commit 5d10a04

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

packages/ra-core/src/dataProvider/useDataProvider.ts

-1
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,6 @@ const performUndoableQuery = ({
406406
});
407407
dispatch({ type: FETCH_ERROR, error });
408408
onFailure && onFailure(error);
409-
throw error;
410409
});
411410
});
412411
} catch (e) {

0 commit comments

Comments
 (0)