diff --git a/chrome/chromeFiles/content/scholar/xpcom/db.js b/chrome/chromeFiles/content/scholar/xpcom/db.js index 7a515e962..52c316284 100644 --- a/chrome/chromeFiles/content/scholar/xpcom/db.js +++ b/chrome/chromeFiles/content/scholar/xpcom/db.js @@ -203,7 +203,8 @@ Scholar.DB = new function(){ var type = 'null'; } else { - throw('Invalid bound parameter ' + params[i]); + throw('Invalid bound parameter ' + params[i] + + ' in ' + Scholar.varDump(params)); } } var value = params[i]; diff --git a/chrome/chromeFiles/content/scholar/xpcom/notifier.js b/chrome/chromeFiles/content/scholar/xpcom/notifier.js index a982a4bbf..67cebb8bd 100644 --- a/chrome/chromeFiles/content/scholar/xpcom/notifier.js +++ b/chrome/chromeFiles/content/scholar/xpcom/notifier.js @@ -40,7 +40,7 @@ Scholar.Notifier = new function(){ var treeType = 'columnTree'; break; default: - throw('Invalid type in Notifier.trigger()'); + throw('Invalid type ' + type + ' in Notifier.trigger()'); } Scholar.debug("Notifier.trigger('" + event + "', '" + type + "', "