From 4417796a117c488452e4f1a7ec0a0b0df1b264be Mon Sep 17 00:00:00 2001 From: Mitchell McCaffrey Date: Tue, 27 Oct 2020 14:02:16 +1100 Subject: [PATCH] Added logging to peer data error --- src/network/Session.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/network/Session.js b/src/network/Session.js index 0978a4f..cdca050 100644 --- a/src/network/Session.js +++ b/src/network/Session.js @@ -178,6 +178,7 @@ class Session extends EventEmitter { } function handleError(error) { + logError(error); this.emit("error", { peer, error }); }