git ssb

16+

Dominic / patchbay



Commit a69c8d3682cc8e055a5d5a06b3763846c31bc715

log errors, don't throw

Dominic Tarr committed on 7/7/2016, 2:49:18 AM
Parent: c19a3ffda2ce95e9b7e2a84a7611908679df82a9

Files changed

modules/names.jschanged
modules/names.jsView
@@ -33,9 +33,9 @@
3333 {$reduce: { name: ['rel', 1], count: {$count: true}
3434 }}
3535 ]}),
3636 function (err, names) {
37- if(err) throw err
37+ if(err) console.error(err), names = []
3838 //if they have not been mentioned, fallback
3939 //to patchwork style naming (i.e. self id)
4040 if(!names.length)
4141 return sbot_whoami(function (err, me) {

Built with git-ssb-web