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 31163da + a9dc452 commit a527f88Copy full SHA for a527f88
src/core/friendly_errors/fes_core.js
@@ -593,7 +593,7 @@ function fesCore(p5, fn){
593
594
// get the function just above the topmost frame in the friendlyStack.
595
// i.e the name of the library function called from user's code
596
- const func = stacktrace[friendlyStack[0].frameIndex - 2].functionName
+ const func = stacktrace[friendlyStack[0].frameIndex - 1].functionName
597
.split('.')
598
.slice(-1)[0];
599
0 commit comments