From 417209b0576f4430493876e1c0ee4c05484df75c Mon Sep 17 00:00:00 2001 From: "nicolas.dorier" Date: Sun, 17 Dec 2017 22:37:40 +0900 Subject: [PATCH] fix checkout page bug --- BTCPayServer/BTCPayServer.csproj | 2 +- BTCPayServer/wwwroot/js/core.js | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/BTCPayServer/BTCPayServer.csproj b/BTCPayServer/BTCPayServer.csproj index cab447ad7..e8bdc526c 100644 --- a/BTCPayServer/BTCPayServer.csproj +++ b/BTCPayServer/BTCPayServer.csproj @@ -2,7 +2,7 @@ Exe netcoreapp2.0 - 1.0.0.45 + 1.0.0.46 diff --git a/BTCPayServer/wwwroot/js/core.js b/BTCPayServer/wwwroot/js/core.js index 2340af035..3e3bb5ca3 100644 --- a/BTCPayServer/wwwroot/js/core.js +++ b/BTCPayServer/wwwroot/js/core.js @@ -214,8 +214,7 @@ if (supportsWebSockets) { fetchStatus(); }; } - catch - { + catch (e) { console.error("Error while connecting to websocket for invoice notifictions"); } }