From b6ab2bda59563dbd172d885aa65db6ef87dd40f6 Mon Sep 17 00:00:00 2001 From: Federico Brigante Date: Wed, 25 Oct 2017 08:58:14 -0500 Subject: [PATCH] Fix connection Promise catch --- browser/scripts/lib.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/browser/scripts/lib.js b/browser/scripts/lib.js index 4a6bf20..4554658 100644 --- a/browser/scripts/lib.js +++ b/browser/scripts/lib.js @@ -181,7 +181,7 @@ var GhostText = { change: event.data }); }; - }).fail(GhostText.errorHandler); + }).catch(GhostText.errorHandler); }); },