exception_error: support objects in ext_info
This commit is contained in:
parent
cde449b937
commit
2f7918ae2e
|
@ -47,6 +47,8 @@ function exception_error(location, e, ext_info) {
|
||||||
if (ext_info) {
|
if (ext_info) {
|
||||||
if (ext_info.responseText) {
|
if (ext_info.responseText) {
|
||||||
ext_info = ext_info.responseText;
|
ext_info = ext_info.responseText;
|
||||||
|
} else {
|
||||||
|
ext_info = JSON.stringify(ext_info);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue