From: Andrew Dolgov Date: Fri, 14 Mar 2014 11:14:13 +0000 (+0400) Subject: exception_error: always stringify ext_info X-Git-Tag: 1.12~3 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=e126fe6a68887030e1e6e9c1be40c2596b145816;p=tt-rss.git exception_error: always stringify ext_info --- diff --git a/js/functions.js b/js/functions.js index 46ab7a58..aa840382 100644 --- a/js/functions.js +++ b/js/functions.js @@ -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", {