Don't throw error on database backup failure, which was breaking some upgrades for unknown reasons
This commit is contained in:
parent
2f2441bbf7
commit
52dda8ae0b
1 changed files with 3 additions and 3 deletions
|
@ -855,10 +855,10 @@ Zotero.DBConnection.prototype.backupDatabase = function (suffix) {
|
|||
getService(Components.interfaces.mozIStorageService);
|
||||
store.backupDatabaseFile(file, tmpFile.leafName, file.parent);
|
||||
}
|
||||
catch (e){
|
||||
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
|
||||
|
|
Loading…
Add table
Reference in a new issue