Skip to content

Commit 1d7b401

Browse files
author
daniel.santos
committed
captureStackTrace removed from OAuthError constructor
1 parent c73b5b2 commit 1d7b401

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/errors/oauth-error.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,6 @@ class OAuthError extends Error {
3434
this[key] = properties[key];
3535
}
3636
}
37-
38-
Error.captureStackTrace(this, OAuthError);
3937
}
4038
}
4139

0 commit comments

Comments
 (0)