Ignore missing asset errors on remove. (#89115)
This commit is contained in:
parent
e8f338e78c
commit
77851e8382
|
@ -115,7 +115,10 @@ async function deleteAssets(
|
|||
try {
|
||||
await Promise.all(deletePromises);
|
||||
} catch (err) {
|
||||
logger.error(err);
|
||||
// in the rollback case, partial installs are likely, so missing assets are not an error
|
||||
if (!savedObjectsClient.errors.isNotFoundError(err)) {
|
||||
logger.error(err);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue