git ssb

2+

arj / dat-share



Commit 8d17a41209cdd6c812ab9a2b84b33e948725194a

Don't die on dat share error

Anders Rune Jensen committed on 10/30/2017, 7:16:00 PM
Parent: ee570c41c6e2c24f4c77c9f3c9f14811bfb29f5f

Files changed

lib.jschanged
lib.jsView
@@ -24,9 +24,12 @@
2424 Dat(shareFolder + "/" + datLink.substring(6), {
2525 key: datLink,
2626 temp: useTemp
2727 }, function (err, dat) {
28- if (err) throw err
28 + if (err) {
29 + console.log(err);
30 + return
31 + }
2932
3033 console.log("sharing:", datLink)
3134 dat.joinNetwork()
3235 })

Built with git-ssb-web