We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 63b9f15 + c6d2b39 commit 948864eCopy full SHA for 948864e
src/error/GraphQLError.js
@@ -81,14 +81,16 @@ export function GraphQLError( // eslint-disable-line no-redeclare
81
if (originalError && originalError.stack) {
82
Object.defineProperty(this, 'stack', {
83
value: originalError.stack,
84
- writable: true
+ writable: true,
85
+ configurable: true
86
});
87
} else if (Error.captureStackTrace) {
88
Error.captureStackTrace(this, GraphQLError);
89
} else {
90
91
value: Error().stack,
92
93
94
95
}
96
0 commit comments