Commit 2e5ff5d30a47066e06453e94537c9564f684d232
Fix handling error from getAbout
cel committed on 5/15/2017, 2:29:54 AMParent: 445c5735109436be4d2b29ffafa9437cd6c2475f
Files changed
index.js | changed |
index.js | ||
---|---|---|
@@ -93,9 +93,9 @@ | ||
93 | 93 … | function serveFeed(req, res, feedId) { |
94 | 94 … | console.log("serving feed: " + feedId) |
95 | 95 … | |
96 | 96 … | getAbout(feedId, function (err, about) { |
97 | - if (err) return cb(err) | |
97 … | + if (err) return respond(res, 500, err.stack || err) | |
98 | 98 … | |
99 | 99 … | pull( |
100 | 100 … | sbot.createUserStream({ id: feedId, reverse: true }), |
101 | 101 … | pull.collect(function (err, logs) { |
Built with git-ssb-web