Add log
This commit is contained in:
parent
2abc57f981
commit
7a5d4cedf6
1 changed files with 1 additions and 0 deletions
|
@ -74,6 +74,7 @@ class CodeDisplay {
|
|||
.severe("Could not parse code display from json", e, s);
|
||||
// (ng/prateek) Handle the case where we have fragment in the rawDataUrl
|
||||
if (!json.endsWith("}") && json.contains("}#")) {
|
||||
Logger("CodeDisplay").warning("ignoring code display as it's invalid");
|
||||
return CodeDisplay();
|
||||
}
|
||||
if (safeParsing) {
|
||||
|
|
Loading…
Add table
Reference in a new issue