var path = args.path
var _id = data._id
- wt.seed(path, function (torrent) {
+ wt.seed(path, { announceList: '' }, function (torrent) {
var to_send = {
magnetUri: torrent.magnetURI
}
ipc.of[nodeKey].emit(processKey + '.ready')
console.log('Ready.')
})
+
+ process.on('uncaughtException', function (e) {
+ ipc.of[nodeKey].emit(processKey + '.exception', { exception: e })
+ })
}
})()