diff options
author | Andrew Dolgov <[email protected]> | 2014-03-14 14:49:18 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2014-03-14 14:49:18 +0400 |
commit | 2f7918ae2e60dc79c962dd0988e682a9a3726aad (patch) | |
tree | 64e8ca151bf31eaabda889f9078c25f4f84f03bf | |
parent | cde449b937b3c59f5269a8daed18955a44329ebf (diff) |
exception_error: support objects in ext_info
-rw-r--r-- | js/functions.js | 2 |
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); } } |