]> git.wh0rd.org Git - tt-rss.git/commitdiff
exception_error: support objects in ext_info
authorAndrew Dolgov <noreply@fakecake.org>
Fri, 14 Mar 2014 10:49:18 +0000 (14:49 +0400)
committerAndrew Dolgov <noreply@fakecake.org>
Fri, 14 Mar 2014 10:49:18 +0000 (14:49 +0400)
js/functions.js

index c5194d2d10c743a1e77807d59ab28353495efd14..a7f4b78916185196c794695816421c0f9bfd401d 100644 (file)
@@ -47,6 +47,8 @@ function exception_error(location, e, ext_info) {
                if (ext_info) {
                        if (ext_info.responseText) {
                                ext_info = ext_info.responseText;
+                       } else {
+                               ext_info = JSON.stringify(ext_info);
                        }
                }