commit ea60cb630ee2b8164b9fc7777e459248e6333774 parent 63f5d1cc9baad4c13f862d59547514ae72349d2e Author: Dan Stillman <dstillman@zotero.org> Date: Tue, 15 Jul 2008 19:21:23 +0000 Better debugging of newer DB version error Diffstat:
| M | chrome/content/zotero/xpcom/schema.js | | | 3 | ++- |
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/chrome/content/zotero/xpcom/schema.js b/chrome/content/zotero/xpcom/schema.js @@ -566,7 +566,8 @@ Zotero.Schema = new function(){ return true; } - throw("Zotero '" + schema + "' DB version is newer than SQL file"); + throw ("Zotero '" + schema + "' DB version (" + dbVersion + + ") is newer than SQL file (" + schemaVersion + ")"); }