mirror of
https://github.com/overleaf/overleaf.git
synced 2025-04-12 12:46:37 +00:00
Merge pull request #19790 from overleaf/jpa-silence-missing
[project-history] silence warning due to missing web hash GitOrigin-RevId: 04ff878c1b356333ff9d515af6a5cba8b31a1ff2
This commit is contained in:
parent
d21874b076
commit
074de0cc02
1 changed files with 1 additions and 1 deletions
|
@ -317,7 +317,7 @@ export function createBlobForUpdate(projectId, historyId, update, callback) {
|
|||
if (err) {
|
||||
return callback(err)
|
||||
}
|
||||
if (update.hash !== fileHash) {
|
||||
if (update.hash && update.hash !== fileHash) {
|
||||
logger.warn(
|
||||
{ projectId, fileId, webHash: update.hash, fileHash },
|
||||
'hash mismatch between web and project-history'
|
||||
|
|
Loading…
Add table
Reference in a new issue