mirror of
https://github.com/overleaf/overleaf.git
synced 2024-10-17 21:05:04 -04: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) {
|
if (err) {
|
||||||
return callback(err)
|
return callback(err)
|
||||||
}
|
}
|
||||||
if (update.hash !== fileHash) {
|
if (update.hash && update.hash !== fileHash) {
|
||||||
logger.warn(
|
logger.warn(
|
||||||
{ projectId, fileId, webHash: update.hash, fileHash },
|
{ projectId, fileId, webHash: update.hash, fileHash },
|
||||||
'hash mismatch between web and project-history'
|
'hash mismatch between web and project-history'
|
||||||
|
|
Loading…
Reference in a new issue