Skip to content

Commit

Permalink
chore: add clarifying comment
Browse files Browse the repository at this point in the history
  • Loading branch information
timsuchanek committed Jul 16, 2020
1 parent e988fca commit 21c69bb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/packages/client/src/runtime/utils/printStack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ export const printStack = ({
// TODO: more resilient logic to check that it's not relative to cwd
const trace = stack.find((t, i) => {
if (i < 3) {
// the first few function calls can always be ignored
if (t.methodName.includes('Object.')) {
return false
}
Expand Down

0 comments on commit 21c69bb

Please sign in to comment.