mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
add log for content hash failures
This commit is contained in:
parent
86c5dd6494
commit
61e8cbbcba
@ -56,6 +56,8 @@ async function checkContentHashes(otherHashes) {
|
|||||||
if (hashes[key] !== otherHashes[key]) {
|
if (hashes[key] !== otherHashes[key]) {
|
||||||
allChecksPassed = false;
|
allChecksPassed = false;
|
||||||
|
|
||||||
|
log.info(`Content hash check for ${key} FAILED. Local is ${hashes[key]}, remote is ${otherHashes[key]}`);
|
||||||
|
|
||||||
if (key !== 'recent_notes') {
|
if (key !== 'recent_notes') {
|
||||||
// let's not get alarmed about recent notes which get updated often and can cause failures in race conditions
|
// let's not get alarmed about recent notes which get updated often and can cause failures in race conditions
|
||||||
ws.sendMessageToAllClients({type: 'sync-hash-check-failed'});
|
ws.sendMessageToAllClients({type: 'sync-hash-check-failed'});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user