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"); } }