Skip to content

Commit

Permalink
add error message on bench
Browse files Browse the repository at this point in the history
  • Loading branch information
UziTech committed Jan 6, 2018
1 parent 2942655 commit 33b8848
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ function runBench(options) {
};
})());
} catch (e) {
console.log('Could not bench showdown.');
console.log('Could not bench showdown. (Error: %s)', e.message);
}

// markdown-it
Expand All @@ -283,7 +283,7 @@ function runBench(options) {
};
})());
} catch (e) {
console.log('Could not bench markdown-it.');
console.log('Could not bench markdown-it. (Error: %s)', e.message);
}

// markdown.js
Expand All @@ -295,7 +295,7 @@ function runBench(options) {
};
})());
} catch (e) {
console.log('Could not bench markdown.js.');
console.log('Could not bench markdown.js. (Error: %s)', e.message);
}

return true;
Expand Down

0 comments on commit 33b8848

Please sign in to comment.