rem: dump("Error while trying to display an error: " + e + " (original error: " + prop + " " + tech + ")\n"); 
add: dumpError("Error while trying to display an error: " + e + " (original error: " + prop + " " + tech + ")\n"); 
context:   showError : function(prop, val, tech)  {    try    {      var bundle = Components.classes["@mozilla.org/intl/stringbundle;1"]                  .getService()                  .QueryInterface(Components.interfaces.nsIStringBundleService)                  .createBundle("chrome://sroaming/locale/prefs.properties");      var dialogTitle = bundle.GetStringFromName("RoamingErrorTitle");      var text = dialogTitle + "\n";      if (val)        text += bundle.formatStringFromName(prop, [val], 1);      else        text += bundle.GetStringFromName(prop);      if (tech) // should we show exceptions to user?        text += "\n" + tech;      GetPromptService().alert(window, dialogTitle, text);    } catch(e) {      dump("Error while trying to display an error: " + e           + " (original error: " + prop + " " + tech + ")\n");    }  }
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/e626476498eb3bf29bf60223ea9454288efe51dd/all.js/buggy/extensions/sroaming/resources/content/prefs/all.js