From b7b7b661f61d91bc16cf80cd898d592631132e51 Mon Sep 17 00:00:00 2001 From: Fiona Ebner Date: Mon, 23 Jan 2023 14:45:08 +0100 Subject: [PATCH] ui: cluster info: fix displaying error The function to set the error mask expects the message as a string, not the error object. Signed-off-by: Fiona Ebner --- www/manager6/dc/Cluster.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/manager6/dc/Cluster.js b/www/manager6/dc/Cluster.js index afe14bf4..22b62cc8 100644 --- a/www/manager6/dc/Cluster.js +++ b/www/manager6/dc/Cluster.js @@ -72,7 +72,7 @@ Ext.define('PVE.ClusterAdministration', { let msg = Proxmox.Utils.getResponseErrorMessage(error); if (error.status !== 424 && !msg.match(/node is not in a cluster/i)) { // an actual error, not just the "not in a cluster one", so show it! - Proxmox.Utils.setErrorMask(this.getView(), error); + Proxmox.Utils.setErrorMask(this.getView(), msg); } } vm.set('totem', {});