1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-15 12:25:56 +00:00

exception reports: show stack trace

This commit is contained in:
Andrew Dolgov
2010-09-13 14:43:38 +04:00
parent 45d9a6e761
commit 0dfdf70816

View File

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