mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-15 14:43:46 +01:00
Merge pull request #28753 from overleaf/em-debug-revert-file
Log debug info when file not found while reverting GitOrigin-RevId: 944db8d61a68612325a733151616ff37298dc699
This commit is contained in:
@@ -136,7 +136,11 @@ const RestoreManager = {
|
|||||||
|
|
||||||
const snapshotFile = projectSnapshotAtVersion.getFile(pathname)
|
const snapshotFile = projectSnapshotAtVersion.getFile(pathname)
|
||||||
if (!snapshotFile) {
|
if (!snapshotFile) {
|
||||||
throw new OError('file not found in snapshot', { pathname })
|
throw new OError('file not found in snapshot', {
|
||||||
|
projectId,
|
||||||
|
version,
|
||||||
|
pathname,
|
||||||
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
let hadDeletedRootFile = false
|
let hadDeletedRootFile = false
|
||||||
|
|||||||
Reference in New Issue
Block a user