Additional debugging for formatStringFromName error

This commit is contained in:
Dan Stillman 2014-09-16 15:46:13 -04:00
parent f33d249e9c
commit 4464e8ed9e

View file

@ -1444,6 +1444,9 @@ Components.utils.import("resource://gre/modules/Services.jsm");
}
}
catch (e){
if (e.name == 'NS_ERROR_ILLEGAL_VALUE') {
Zotero.debug(params, 1);
}
Components.utils.reportError(e);
Zotero.debug(e, 1);
throw ('Localized string not available for ' + name);