]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/lib/webtorrentProcess.js
Use lodash v4
[github/Chocobozzz/PeerTube.git] / server / lib / webtorrentProcess.js
index c68e97ee4928a63b0321100afbaaece7511eee02..7889e7128fb3174bc4cd9f43a9b29c71b39e41d8 100644 (file)
@@ -83,7 +83,7 @@ function webtorrent (args) {
   })
 
   process.on('uncaughtException', function (e) {
-    ipc.of[nodeKey].emit(processKey + '.exception', { exception: e })
+    ipc.of[nodeKey].emit(processKey + '.exception', { exception: e.toString() })
   })
 }