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.
1 parent 8d81209 commit 9cc826fCopy full SHA for 9cc826f
test/benchmarks/mongoBench/runner.js
@@ -190,8 +190,8 @@ class Runner {
190
191
_errorHandler(error) {
192
this.reporter(`Error: ${error.name} - ${error.message} - ${error.stack}`);
193
- for (let error = error.cause; error != null; error = error.cause) {
194
- this.reporter(`Caused by: ${error.name} - ${error.message} - ${error.stack}`);
+ for (let cause = error.cause; cause != null; cause = cause.cause) {
+ this.reporter(`Caused by: ${cause.name} - ${cause.message} - ${cause.stack}`);
195
}
196
throw error;
197
0 commit comments