apt repositories: just ignore unknown info rather than throwing an error

This will avoid breaking older UI when extending the backend.

Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
(cherry picked from commit b9b1a51a2e3491c516d69d821e0950d53d5fb907)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Fiona Ebner 2023-06-05 17:43:10 +02:00 committed by Thomas Lamprecht
parent ae66538726
commit 083c6f1d1a

View File

@ -670,8 +670,6 @@ Ext.define('Proxmox.node.APTRepositories', {
if (!repoGrid.majorUpgradeAllowed) {
infos[path][idx].warnings.push(info);
}
} else {
throw 'unknown info';
}
}