Skip to content

Commit

Permalink
PR Feedback
Browse files Browse the repository at this point in the history
1. Don't throw new Error, just throw existing error
  • Loading branch information
byrichardpowell committed Aug 21, 2023
1 parent 2cb3b75 commit 4651335
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export function graphqlClientFactory({
throw await handleClientError({error, params, session});
}

throw new Error(error);
throw error;
}
};
}

0 comments on commit 4651335

Please sign in to comment.