Add better message for error Kaspersky users have gotten
This commit is contained in:
parent
c17336291b
commit
a94675f402
|
@ -1221,7 +1221,22 @@ Zotero.Sync.Storage = new function () {
|
||||||
throw(msg);
|
throw(msg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
zipReader.extract(entryName, destFile);
|
try {
|
||||||
|
zipReader.extract(entryName, destFile);
|
||||||
|
}
|
||||||
|
catch (e) {
|
||||||
|
if (e.name == 'NS_ERROR_FILE_ACCESS_DENIED') {
|
||||||
|
Zotero.debug(e);
|
||||||
|
// TODO: localize
|
||||||
|
var msg = "Zotero was unable to create a file during syncing."
|
||||||
|
+ "\n\n"
|
||||||
|
+ "Restarting your computer or disabling anti-virus/security "
|
||||||
|
+ "software may fix the problem.";
|
||||||
|
throw (msg);
|
||||||
|
}
|
||||||
|
|
||||||
|
throw (e);
|
||||||
|
}
|
||||||
|
|
||||||
var origPath = destFile.path;
|
var origPath = destFile.path;
|
||||||
var origFileName = destFile.leafName;
|
var origFileName = destFile.leafName;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user