]> git.wh0rd.org Git - tt-rss.git/commitdiff
exception_error: always stringify ext_info
authorAndrew Dolgov <noreply@fakecake.org>
Fri, 14 Mar 2014 11:14:13 +0000 (15:14 +0400)
committerAndrew Dolgov <noreply@fakecake.org>
Fri, 14 Mar 2014 11:14:13 +0000 (15:14 +0400)
js/functions.js

index 46ab7a584cb2b6b39d52e4c273bf31c0d55c4679..aa840382c7b4d13acaa873b5caa4d8d94145938c 100644 (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", {