diff --git a/libs/remix-lib/src/trace/traceManager.js b/libs/remix-lib/src/trace/traceManager.js index 7065f76cf5..4080f407fd 100644 --- a/libs/remix-lib/src/trace/traceManager.js +++ b/libs/remix-lib/src/trace/traceManager.js @@ -112,9 +112,9 @@ TraceManager.prototype.buildCallPath = function (stepIndex, callback) { } TraceManager.prototype.getCallStackAt = function (stepIndex) { - try { - this.checkRequestedStep(stepIndex) - } catch (check) { + // this.checkRequestedStep(stepIndex) + const check = this.checkRequestedStep(stepIndex) + if (check) { throw new Error(check) } const call = util.findCall(stepIndex, this.traceCache.callsTree.call)