aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/inpage.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/scripts/inpage.js')
-rw-r--r--app/scripts/inpage.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/scripts/inpage.js b/app/scripts/inpage.js
index 6bf75084c..001d9f4f9 100644
--- a/app/scripts/inpage.js
+++ b/app/scripts/inpage.js
@@ -12,6 +12,9 @@ var pluginStream = new LocalMessageDuplexStream({
var remoteProvider = new StreamProvider()
remoteProvider.pipe(pluginStream).pipe(remoteProvider)
+pluginStream.on('error', console.error.bind(console))
+remoteProvider.on('error', console.error.bind(console))
+
// handle synchronous methods remotely
// handle accounts cache