exception_error: always stringify ext_info

This commit is contained in:
Andrew Dolgov 2014-03-14 15:14:13 +04:00
parent fb3a2505ac
commit e126fe6a68

View File

@ -44,13 +44,8 @@ function exception_error(location, e, ext_info) {
try {
if (ext_info) {
if (ext_info.responseText) {
ext_info = ext_info.responseText;
} else {
if (ext_info)
ext_info = JSON.stringify(ext_info);
}
}
try {
new Ajax.Request("backend.php", {