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

exception_error: always stringify ext_info

This commit is contained in:
Andrew Dolgov
2014-03-14 15:14:13 +04:00
parent fb3a2505ac
commit e126fe6a68

View File

@@ -44,13 +44,8 @@ function exception_error(location, e, ext_info) {
try {
if (ext_info) {
if (ext_info.responseText) {
ext_info = ext_info.responseText;
} else {
ext_info = JSON.stringify(ext_info);
}
}
if (ext_info)
ext_info = JSON.stringify(ext_info);
try {
new Ajax.Request("backend.php", {