Skip to content

Commit

Permalink
remove manual stack trace setting
Browse files Browse the repository at this point in the history
  • Loading branch information
calebmer authored Feb 27, 2017
1 parent 8c742c0 commit bfc8f9f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/errors/ApolloError.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,6 @@ export class ApolloError extends Error {
this.graphQLErrors = graphQLErrors || [];
this.networkError = networkError || null;

// set up the stack trace
this.stack = new Error().stack;

if (!errorMessage) {
this.message = generateErrorMessage(this);
} else {
Expand Down

0 comments on commit bfc8f9f

Please sign in to comment.