This commit is contained in:
Konstantin Pogorelov
2016-10-03 13:46:40 +02:00
parent 57087d3525
commit 6cfd7523e7

View File

@@ -44,7 +44,7 @@ function main(opts) {
if (arguments[2] && arguments[1] && arguments[1].send) {
arguments[1].status(500)
.send("<h1>500 Error</h1>\n"
+ "<p>Unexapected 3rd param in express-prom-bundle.\n"
+ "<p>Unexpected 3rd param in express-prom-bundle.\n"
+ "<p>Did you just put express-prom-bundle into app.use "
+ "without calling it as a function first?");
return;