diff options
author | Stephen Whitmore <sww@eight45.net> | 2018-04-17 19:48:42 -0700 |
---|---|---|
committer | Stephen Whitmore <sww@eight45.net> | 2018-04-17 19:48:42 -0700 |
commit | d64cd4d8402357862c983a26b788e40dd32d21a9 (patch) | |
tree | e8feb67608a297b2cfd315331108ab7ce779b610 | |
parent | d5438f035535e35c1d5f02af7bef0fcf9d43cab9 (diff) | |
download | patchfoo-d64cd4d8402357862c983a26b788e40dd32d21a9.tar.gz patchfoo-d64cd4d8402357862c983a26b788e40dd32d21a9.zip |
fix: better error output for web
-rw-r--r-- | lib/serve.js | 2 |
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) ) } |