From d64cd4d8402357862c983a26b788e40dd32d21a9 Mon Sep 17 00:00:00 2001 From: Stephen Whitmore Date: Tue, 17 Apr 2018 19:48:42 -0700 Subject: fix: better error output for web --- lib/serve.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/serve.js b/lib/serve.js index 4c60cce..ef7825d 100644 --- a/lib/serve.js +++ b/lib/serve.js @@ -2665,7 +2665,7 @@ Serve.prototype.web = function (url) { webresolve(this.app.sbot, components, function (err, res) { if (err) { return pull( - pull.once('ERROR:', err), + pull.once(err.toString()), self.respondSink(404) ) } -- cgit v1.2.3