Better debugging of newer DB version error

This commit is contained in:
Dan Stillman 2008-07-15 19:21:23 +00:00
parent 63f5d1cc9b
commit ea60cb630e

View file

@ -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 + ")");
}