exception reports: show stack trace

This commit is contained in:
Andrew Dolgov 2010-09-13 14:43:38 +04:00
parent 45d9a6e761
commit 0dfdf70816
1 changed files with 2 additions and 2 deletions

View File

@ -46,12 +46,12 @@ function exception_error(location, e, ext_info) {
if (ext_info) {
ebc.innerHTML += "<div><b>Additional information:</b></div>" +
"<textarea readonly=\"1\">" + ext_info + "</textarea>";
"<textarea readonly=\"1\">" + ext_info + "</textarea>";
}
ebc.innerHTML += "<div><b>Stack trace:</b></div>" +
"<textarea readonly=\"1\">" + e.stack + "</textarea>";
} else {
alert(msg);
}