diff --git a/chrome/content/zotero/xpcom/db.js b/chrome/content/zotero/xpcom/db.js index 27c65cb6d3..34d9e0db2a 100644 --- a/chrome/content/zotero/xpcom/db.js +++ b/chrome/content/zotero/xpcom/db.js @@ -48,7 +48,7 @@ Zotero.DBConnection = function(dbName) { return this._transactionDate; } - Zotero.debug("Zotero.DB.transactionDate retrieved with no transaction", 2); + throw new Error("Transaction not in progress"); // Use second granularity rather than millisecond // for comparison purposes