From 406b2f8300b128891f74980d36ad45c33a9cd29b Mon Sep 17 00:00:00 2001 From: Juan Ferrer Toribio Date: Tue, 31 Jan 2023 14:09:01 +0100 Subject: [PATCH] #4253 Hotfix: OutdatedVersionError not handled --- debian/changelog | 2 +- js/hedera/app.js | 4 ++-- package.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/debian/changelog b/debian/changelog index da831805..389511fb 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -hedera-web (22.48.9) stable; urgency=low +hedera-web (22.48.10) stable; urgency=low * Initial Release. diff --git a/js/hedera/app.js b/js/hedera/app.js index 290fca02..394ab2fe 100644 --- a/js/hedera/app.js +++ b/js/hedera/app.js @@ -198,11 +198,11 @@ module.exports = new Class({ ,async _onConnError(conn, err) { if (!(err instanceof Vn.JsonException)) return; switch (err.exception) { - case 'UserDisabled': + case 'UserDisabledError': Htk.Toast.showError(_('User disabled')); await this._logout(); return; - case 'OutdatedVersion': + case 'OutdatedVersionError': this._newVersion(); return; } diff --git a/package.json b/package.json index a1bdf7e1..59043dd7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hedera-web", - "version": "22.48.9", + "version": "22.48.10", "description": "Verdnatura web page", "license": "GPL-3.0", "repository": {