aboutsummaryrefslogtreecommitdiff
path: root/lib/serve.js
diff options
context:
space:
mode:
authorStephen Whitmore <sww@eight45.net>2018-04-17 19:48:42 -0700
committerStephen Whitmore <sww@eight45.net>2018-04-17 19:48:42 -0700
commitd64cd4d8402357862c983a26b788e40dd32d21a9 (patch)
treee8feb67608a297b2cfd315331108ab7ce779b610 /lib/serve.js
parentd5438f035535e35c1d5f02af7bef0fcf9d43cab9 (diff)
downloadpatchfoo-d64cd4d8402357862c983a26b788e40dd32d21a9.tar.gz
patchfoo-d64cd4d8402357862c983a26b788e40dd32d21a9.zip
fix: better error output for web
Diffstat (limited to 'lib/serve.js')
-rw-r--r--lib/serve.js2
1 files changed, 1 insertions, 1 deletions
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)
)
}