aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/webtorrent.js
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-03-19 09:08:10 +0100
committerChocobozzz <florian.bigard@gmail.com>2016-03-19 09:08:10 +0100
commit233d12d8b1916eae5bae230dc965045adb89a173 (patch)
tree7cbaff56cead511af044c4dcedf208fed0094035 /server/lib/webtorrent.js
parent8c9c1942f6b5675cfca802e2f707bef3c217afbf (diff)
downloadPeerTube-233d12d8b1916eae5bae230dc965045adb89a173.tar.gz
PeerTube-233d12d8b1916eae5bae230dc965045adb89a173.tar.zst
PeerTube-233d12d8b1916eae5bae230dc965045adb89a173.zip
Fix exception log of the webtorrent process
Diffstat (limited to 'server/lib/webtorrent.js')
-rw-r--r--server/lib/webtorrent.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/webtorrent.js b/server/lib/webtorrent.js
index 455b086a3..e2e2586f9 100644
--- a/server/lib/webtorrent.js
+++ b/server/lib/webtorrent.js
@@ -53,7 +53,7 @@ function create (options, callback) {
53 }) 53 })
54 54
55 ipc.server.on(processKey + '.exception', function (data) { 55 ipc.server.on(processKey + '.exception', function (data) {
56 throw new Error('Received exception error from webtorrent process.' + data.exception) 56 throw new Error('Received exception error from webtorrent process : ' + data.exception)
57 }) 57 })
58 58
59 const webtorrent_process = spawn(pathUtils.join(__dirname, 'webtorrentProcess.js'), host, port, { detached: true }) 59 const webtorrent_process = spawn(pathUtils.join(__dirname, 'webtorrentProcess.js'), host, port, { detached: true })