Skip to content

Commit

Permalink
[面試經驗表單] 錯誤訊息移除Graphql詞綴 (#1142)
Browse files Browse the repository at this point in the history
  • Loading branch information
peteranny authored Jun 26, 2023
1 parent 68a3ce8 commit 76245bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/errors/graphqlError.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const mapErrorPaths = R.map(R.prop('path'));

class GraphqlError extends Error {
constructor(errors) {
const message = `GraphqlError: ${mapErrorMessages(errors)}`;
const message = mapErrorMessages(errors);
super(message);

this.name = 'GraphqlError';
Expand Down

0 comments on commit 76245bb

Please sign in to comment.