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.
1 parent 2406d3a commit c6d2b39Copy full SHA for c6d2b39
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