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:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user