fix(xo-server/backup NG): properly handle missing VHD in chain

Fixes #3875
This commit is contained in:
Julien Fontanet
2019-01-18 16:48:47 +01:00
parent 02e7eeec51
commit f663dbe7a7

View File

@@ -1340,7 +1340,10 @@ export default class BackupNg {
return
} catch (error) {
if (!(error instanceof AssertionError)) {
if (
!(error instanceof AssertionError) ||
error?.code === 'ENOENT'
) {
throw error
}
}