feat(vhd-lib/merge): augment errors with VHD paths
This commit is contained in:
parent
468250f291
commit
e0cab4f937
@ -216,5 +216,13 @@ module.exports.mergeVhd = limitConcurrency(2)(async function merge(
|
||||
parentHandler.unlink(mergeStatePath).catch(warn)
|
||||
|
||||
return mergeState.mergedDataSize
|
||||
}).catch(error => {
|
||||
try {
|
||||
error.childPath = childPath
|
||||
error.parentPath = parentPath
|
||||
} finally {
|
||||
// eslint-disable-next-line no-unsafe-finally
|
||||
throw error
|
||||
}
|
||||
})
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user