diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-03-19 09:08:10 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-03-19 09:08:10 +0100 |
commit | 233d12d8b1916eae5bae230dc965045adb89a173 (patch) | |
tree | 7cbaff56cead511af044c4dcedf208fed0094035 /server/lib/webtorrentProcess.js | |
parent | 8c9c1942f6b5675cfca802e2f707bef3c217afbf (diff) | |
download | PeerTube-233d12d8b1916eae5bae230dc965045adb89a173.tar.gz PeerTube-233d12d8b1916eae5bae230dc965045adb89a173.tar.zst PeerTube-233d12d8b1916eae5bae230dc965045adb89a173.zip |
Fix exception log of the webtorrent process
Diffstat (limited to 'server/lib/webtorrentProcess.js')
-rw-r--r-- | server/lib/webtorrentProcess.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/webtorrentProcess.js b/server/lib/webtorrentProcess.js index c68e97ee4..7889e7128 100644 --- a/server/lib/webtorrentProcess.js +++ b/server/lib/webtorrentProcess.js | |||
@@ -83,7 +83,7 @@ function webtorrent (args) { | |||
83 | }) | 83 | }) |
84 | 84 | ||
85 | process.on('uncaughtException', function (e) { | 85 | process.on('uncaughtException', function (e) { |
86 | ipc.of[nodeKey].emit(processKey + '.exception', { exception: e }) | 86 | ipc.of[nodeKey].emit(processKey + '.exception', { exception: e.toString() }) |
87 | }) | 87 | }) |
88 | } | 88 | } |
89 | 89 | ||