Skip to content

Commit 3ee96af

Browse files
authored
remove console.log when an error is thrown (#171)
1 parent ff92886 commit 3ee96af

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/jsonpath.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -607,8 +607,6 @@ JSONPath.prototype._eval = function (
607607
try {
608608
return this.vm.runInNewContext(code, this.currSandbox);
609609
} catch (e) {
610-
// eslint-disable-next-line no-console
611-
console.log(e);
612610
throw new Error('jsonPath: ' + e.message + ': ' + code);
613611
}
614612
};

0 commit comments

Comments
 (0)