From 2f7918ae2e60dc79c962dd0988e682a9a3726aad Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 14 Mar 2014 14:49:18 +0400 Subject: [PATCH] exception_error: support objects in ext_info --- js/functions.js | 2 ++ 1 file changed, 2 insertions(+) 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); } }