diff --git a/chrome/content/zotero/xpcom/db.js b/chrome/content/zotero/xpcom/db.js index 8acee71abb..9f8595baf2 100644 --- a/chrome/content/zotero/xpcom/db.js +++ b/chrome/content/zotero/xpcom/db.js @@ -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