git ssb

9+

cel / ssb-viewer



Commit 2e5ff5d30a47066e06453e94537c9564f684d232

Fix handling error from getAbout

cel committed on 5/15/2017, 2:29:54 AM
Parent: 445c5735109436be4d2b29ffafa9437cd6c2475f

Files changed

index.jschanged
index.jsView
@@ -93,9 +93,9 @@
9393 function serveFeed(req, res, feedId) {
9494 console.log("serving feed: " + feedId)
9595
9696 getAbout(feedId, function (err, about) {
97- if (err) return cb(err)
97 + if (err) return respond(res, 500, err.stack || err)
9898
9999 pull(
100100 sbot.createUserStream({ id: feedId, reverse: true }),
101101 pull.collect(function (err, logs) {

Built with git-ssb-web