Commit 8fdad9fc0eaf9e15606a90dddd9356c3af5bf9ad
oops: syntax error
Dominic Tarr committed on 6/27/2016, 4:33:55 AMParent: 8f91f170858d22bc75d7b88cb8cb82c652ca06ab
Files changed
sbot-api.js | changed |
sbot-api.js | ||
---|---|---|
@@ -20,9 +20,9 @@ | ||
20 | 20 | module.exports = function () { |
21 | 21 | var sbot = null |
22 | 22 | var rec = Reconnect(function (isConn) { |
23 | 23 | createClient(function (err, _sbot) { |
24 | - if(err) return {console.error(err.stack); isConn(err)} | |
24 | + if(err) {console.error(err.stack); isConn(err)} | |
25 | 25 | sbot = _sbot |
26 | 26 | sbot.on('closed', function () { |
27 | 27 | sbot = null |
28 | 28 | isConn(new Error('closed')) |
Built with git-ssb-web