Skip to content

Commit 33b8848

Browse files
committed
add error message on bench
1 parent 2942655 commit 33b8848

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ function runBench(options) {
270270
};
271271
})());
272272
} catch (e) {
273-
console.log('Could not bench showdown.');
273+
console.log('Could not bench showdown. (Error: %s)', e.message);
274274
}
275275

276276
// markdown-it
@@ -283,7 +283,7 @@ function runBench(options) {
283283
};
284284
})());
285285
} catch (e) {
286-
console.log('Could not bench markdown-it.');
286+
console.log('Could not bench markdown-it. (Error: %s)', e.message);
287287
}
288288

289289
// markdown.js
@@ -295,7 +295,7 @@ function runBench(options) {
295295
};
296296
})());
297297
} catch (e) {
298-
console.log('Could not bench markdown.js.');
298+
console.log('Could not bench markdown.js. (Error: %s)', e.message);
299299
}
300300

301301
return true;

0 commit comments

Comments
 (0)