[pve-devel] [PATCH manager] ui: guest backup grid: monitor store errors

Fabian Ebner f.ebner at proxmox.com
Fri Oct 22 11:07:50 CEST 2021


so that users see when something went wrong.

Don't mask the grid directly, but rather only its view so that the
title bar can be used for selecting another storage during load.

Reported in the community forum:
https://forum.proxmox.com/threads/get-backups-from-proxmox-randomly-fails.98383/

Signed-off-by: Fabian Ebner <f.ebner at proxmox.com>
---
 www/manager6/grid/BackupView.js | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/www/manager6/grid/BackupView.js b/www/manager6/grid/BackupView.js
index 8825ed96..424a58b9 100644
--- a/www/manager6/grid/BackupView.js
+++ b/www/manager6/grid/BackupView.js
@@ -89,6 +89,8 @@ Ext.define('PVE.grid.BackupView', {
 		url: url,
 	    });
 
+	    Proxmox.Utils.monStoreErrors(me.view, me.store, true);
+
 	    reload();
 	};
 
-- 
2.30.2






More information about the pve-devel mailing list