Debugging info for a user's problem
This commit is contained in:
parent
add2c629cc
commit
ce9b915de1
1 changed files with 7 additions and 0 deletions
|
@ -454,6 +454,13 @@ Zotero.Sync.Storage = new function () {
|
||||||
}
|
}
|
||||||
|
|
||||||
// If file hash matches stored hash, only the mod time changed, so skip
|
// If file hash matches stored hash, only the mod time changed, so skip
|
||||||
|
var f = item.getFile();
|
||||||
|
if (f) {
|
||||||
|
Zotero.debug(f.path);
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
Zotero.debug("File missing before getting hash");
|
||||||
|
}
|
||||||
var fileHash = item.attachmentHash;
|
var fileHash = item.attachmentHash;
|
||||||
if (attachmentData[item.id].hash && attachmentData[item.id].hash == fileHash) {
|
if (attachmentData[item.id].hash && attachmentData[item.id].hash == fileHash) {
|
||||||
Zotero.debug("Mod time didn't match but hash did for " + file.leafName + " -- ignoring");
|
Zotero.debug("Mod time didn't match but hash did for " + file.leafName + " -- ignoring");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue