summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--itjs/boot.js9
1 files changed, 8 insertions, 1 deletions
diff --git a/itjs/boot.js b/itjs/boot.js
index cf28518..311f28e 100644
--- a/itjs/boot.js
+++ b/itjs/boot.js
@@ -45,7 +45,14 @@ function it_boot_report(msg, file, line, error)
window.clearTimeout(window.it_domtimer);
window.clearTimeout(window.it_panictimer);
- new Image().src = "/itjs/error.gif/" + escape(msg) + "|" + escape(file) + "|" + line + "|" + (new Date().getTime() - it_catcherrstart) + "|" + escape(error);
+ var more = "";
+ if (error && typeof error == 'object')
+ for (var k in error)
+ more += k + "=" + error[k] + ";";
+ else
+ more = error;
+
+ new Image().src = "/itjs/error.gif/" + escape(msg) + "|" + escape(file) + "|" + line + "|" + (new Date().getTime() - it_catcherrstart) + "|" + escape(more);
}
function it_boot_checkcss(style, key, value)