Don't throw error on database backup failure, which was breaking some upgrades for unknown reasons

This commit is contained in:
Dan Stillman 2009-07-03 05:11:22 +00:00
parent 2f2441bbf7
commit 52dda8ae0b

View file

@ -857,8 +857,8 @@ Zotero.DBConnection.prototype.backupDatabase = function (suffix) {
}
catch (e) {
Zotero.debug(e);
// TODO: deal with low disk space
throw (e);
Components.utils.reportError(e);
return false;
}
// Opened database files can't be moved on Windows, so we have to skip