[pve-devel] [PATCH/RFC widget-toolkit 2/5] apt repositories: just ignore unknown info rather than throwing an error
Fiona Ebner
f.ebner at proxmox.com
Mon Jun 5 17:43:10 CEST 2023
This will avoid breaking older UI when extending the backend.
Signed-off-by: Fiona Ebner <f.ebner at proxmox.com>
---
src/node/APTRepositories.js | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/node/APTRepositories.js b/src/node/APTRepositories.js
index cb08bb6..ed58e5b 100644
--- a/src/node/APTRepositories.js
+++ b/src/node/APTRepositories.js
@@ -660,8 +660,6 @@ Ext.define('Proxmox.node.APTRepositories', {
if (!repoGrid.majorUpgradeAllowed) {
infos[path][idx].warnings.push(info);
}
- } else {
- throw 'unknown info';
}
}
--
2.39.2
More information about the pve-devel
mailing list