commit dca22a012cdb19c0e6f994341f9a457a17152ced parent ee51b493772ee946807ec69aa02e2a5ea0ce076a Author: Dan Stillman <dstillman@zotero.org> Date: Sun, 5 Feb 2012 01:49:08 -0500 Debugging for tag issue Diffstat:
| M | chrome/content/zotero/xpcom/data/tag.js | | | 10 | +++++++++- |
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/chrome/content/zotero/xpcom/data/tag.js b/chrome/content/zotero/xpcom/data/tag.js @@ -353,7 +353,15 @@ Zotero.Tag.prototype.save = function (full) { var sql = "UPDATE tags SET " + columns.join("=?, ") + "=?" + " WHERE tagID=?"; - Zotero.DB.query(sql, sqlValues); + try { + Zotero.DB.query(sql, sqlValues); + } + // TEMP + catch (e) { + var sql = "SELECT * FROM tags"; + Zotero.debug(Zotero.DB.query(sql)); + throw (e); + } }