From ea60cb630ee2b8164b9fc7777e459248e6333774 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Tue, 15 Jul 2008 19:21:23 +0000 Subject: [PATCH] Better debugging of newer DB version error --- 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 index 824a02f2f5..df030a35e4 100644 --- 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 + ")"); }