detailed error message

This commit is contained in:
pypy
2020-01-13 22:13:19 +09:00
parent ac8ba5b824
commit abe28878e4
2 changed files with 3 additions and 3 deletions

View File

@@ -426,10 +426,10 @@ CefSharp.BindObjectAsync(
}
}
if (error !== undefined) {
text.push(error);
text.push(JSON.stringify(error));
}
if (extra !== undefined) {
text.push(extra);
text.push(JSON.stringify(extra));
}
text = text.map((s) => escapeTag(s)).join('<br>');
if (text.length) {

View File

@@ -362,7 +362,7 @@ CefSharp.BindObjectAsync(
}
}
if (error !== undefined) {
text.push(error);
text.push(JSON.stringify(error));
}
text = text.map((s) => escapeTag(s)).join('<br>');
if (text.length) {