summaryrefslogtreecommitdiff
path: root/js/functions.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2014-03-14 14:49:18 +0400
committerAndrew Dolgov <[email protected]>2014-03-14 14:49:18 +0400
commit2f7918ae2e60dc79c962dd0988e682a9a3726aad (patch)
tree64e8ca151bf31eaabda889f9078c25f4f84f03bf /js/functions.js
parentcde449b937b3c59f5269a8daed18955a44329ebf (diff)
exception_error: support objects in ext_info
Diffstat (limited to 'js/functions.js')
-rw-r--r--js/functions.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/functions.js b/js/functions.js
index c5194d2d1..a7f4b7891 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);
}
}