Skip to content
This repository has been archived by the owner on Apr 13, 2023. It is now read-only.

Prevent runMutation from throwing an error #3575

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
1 change: 0 additions & 1 deletion packages/hooks/src/data/MutationData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ export class MutationData<
})
.catch((error: ApolloError) => {
this.onMutationError(error, mutationId);
if (!this.getOptions().onError) throw error;
});
};

Expand Down