git ssb

16+

Dominic / patchbay



Commit 3cc25bb165abecd60144dea543ad032b7b60d08d

return after error

Dominic Tarr committed on 7/4/2016, 10:57:00 PM
Parent: 3566a11b6d8efe57ebe3d858b26ea4cff89b9e67

Files changed

sbot-api.jschanged
sbot-api.jsView
@@ -30,10 +30,14 @@
3030 var opts = createConfig()
3131 var sbot = null
3232
3333 var rec = Reconnect(function (isConn) {
34- createClient(keys, opts, function (err, _sbot) {
35- if(err) {console.error(err.stack); isConn(err)}
34+ createClient(function (err, _sbot) {
35+ if(err) {
36+ console.error(err.stack)
37+ isConn(err)
38+ return
39+ }
3640 sbot = _sbot
3741 sbot.on('closed', function () {
3842 sbot = null
3943 isConn(new Error('closed'))
@@ -102,4 +106,6 @@
102106
103107
104108
105109
110+
111+

Built with git-ssb-web