From 210250465a678bd1520fc1c1359e23209be03c8c Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Fri, 24 Mar 2017 12:42:50 -0700 Subject: [PATCH] benchmark: update obsolete information pointer A doc suggested in an error message is no longer the place to get the information about required http benchmarkers. Update the error message to point to the current location for the information. PR-URL: https://github.com/nodejs/node/pull/12026 Reviewed-By: James M Snell Reviewed-By: Colin Ihrig Reviewed-By: Luigi Pinca Reviewed-By: Franziska Hinkelmann --- benchmark/_http-benchmarkers.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/benchmark/_http-benchmarkers.js b/benchmark/_http-benchmarkers.js index e096efc71ba162..f81335a20fc7a0 100644 --- a/benchmark/_http-benchmarkers.js +++ b/benchmark/_http-benchmarkers.js @@ -88,9 +88,11 @@ exports.run = function(options, callback) { benchmarker: exports.default_http_benchmarker }, options); if (!options.benchmarker) { - callback(new Error('Could not locate any of the required http ' + - 'benchmarkers. Check benchmark/README.md for further ' + - 'instructions.')); + callback(new Error('Could not locate required http benchmarker. See ' + + 'https://github.com/nodejs/node/blob/master/doc/' + + 'guides/writing-and-running-benchmarks.md##http-' + + 'benchmark-requirements ' + + 'for further instructions.')); return; } const benchmarker = benchmarkers[options.benchmarker];