mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-12 13:13:45 +01:00
Merge pull request #30784 from overleaf/revert-30675-ar-jpa-log-missing-history-id-docupdater
Revert "[document-updater] add additional logging when doc is missing projectHistoryId" GitOrigin-RevId: 725508a8f88ad3354b8b4644f4ee1e91efbecde2
This commit is contained in:
@@ -102,13 +102,6 @@ function getDoc(projectId, docId, options = {}, _callback) {
|
|||||||
body.ranges = {}
|
body.ranges = {}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!body.projectHistoryId) {
|
|
||||||
logger.warn(
|
|
||||||
{ projectId, docId },
|
|
||||||
'projectHistoryId not found for doc from web'
|
|
||||||
)
|
|
||||||
}
|
|
||||||
|
|
||||||
callback(
|
callback(
|
||||||
null,
|
null,
|
||||||
body.lines,
|
body.lines,
|
||||||
|
|||||||
@@ -282,13 +282,6 @@ const RedisManager = {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!projectHistoryId) {
|
|
||||||
logger.warn(
|
|
||||||
{ docId, projectId },
|
|
||||||
'projectHistoryId not found for doc in Redis'
|
|
||||||
)
|
|
||||||
}
|
|
||||||
|
|
||||||
return {
|
return {
|
||||||
lines: docLines,
|
lines: docLines,
|
||||||
version,
|
version,
|
||||||
|
|||||||
Reference in New Issue
Block a user