mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-07-24 20:20:13 +00:00
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 <f.ebner@proxmox.com>
This commit is contained in:
parent
ab78e7e2d0
commit
b7b7b661f6
@ -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', {});
|
||||
|
Loading…
Reference in New Issue
Block a user