Add console error to builder when iframe preview receives invalid JSON to aid in debugging some cases of endless loading apps
This commit is contained in:
parent
adae966769
commit
20ee863780
|
@ -49,6 +49,7 @@ export default `
|
|||
try {
|
||||
parsed = JSON.parse(event.data)
|
||||
} catch (error) {
|
||||
console.error("Client received invalid JSON")
|
||||
// Ignore
|
||||
}
|
||||
if (!parsed) {
|
||||
|
|
Loading…
Reference in New Issue