From: Andrew Dolgov Date: Fri, 14 Mar 2014 10:49:18 +0000 (+0400) Subject: exception_error: support objects in ext_info X-Git-Tag: 1.12~7 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=2f7918ae2e60dc79c962dd0988e682a9a3726aad;p=tt-rss.git exception_error: support objects in ext_info --- diff --git a/js/functions.js b/js/functions.js index c5194d2d..a7f4b789 100644 --- a/js/functions.js +++ b/js/functions.js @@ -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); } }