} catch(E) {
var error = 'Problem in util.controller.render with\n'
+ this.render_list[i] + '\n\n' + js2JSON(E);
- this.error.sdump('D_ERROR',error);
+ this.error.sdump('D_WARN',error);
}
}
}
if (this.forceAlertDump || ( this.allowAlertDump && this.sdump_levels[level] && this.sdump_levels[level].alert ) ) alert(message);
if (this.forceConsoleDump || ( this.allowConsoleDump && this.sdump_levels[level] && this.sdump_levels[level].console ) ) {
netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
- this.consoleService.logStringMessage(message);
+ if (level=='D_ERROR') {
+ Components.utils.reportError(message);
+ } else {
+ this.consoleService.logStringMessage(message);
+ }
}
if (this.forceFileDump || ( this.allowFileDump && this.sdump_levels[level] && this.sdump_levels[level].file ) ) {
if (level!='D_FILE') {