Commit a69c8d3682cc8e055a5d5a06b3763846c31bc715
log errors, don't throw
Dominic Tarr committed on 7/7/2016, 2:49:18 AMParent: c19a3ffda2ce95e9b7e2a84a7611908679df82a9
Files changed
modules/names.js | changed |
modules/names.js | ||
---|---|---|
@@ -33,9 +33,9 @@ | ||
33 | 33 | {$reduce: { name: ['rel', 1], count: {$count: true} |
34 | 34 | }} |
35 | 35 | ]}), |
36 | 36 | function (err, names) { |
37 | - if(err) throw err | |
37 | + if(err) console.error(err), names = [] | |
38 | 38 | //if they have not been mentioned, fallback |
39 | 39 | //to patchwork style naming (i.e. self id) |
40 | 40 | if(!names.length) |
41 | 41 | return sbot_whoami(function (err, me) { |
Built with git-ssb-web