Serialize the error as a string to pass it back to the main view
Conflicts / main (push) Canceled after 0s
Conflicts / main (push) Canceled after 0s
This commit is contained in:
@@ -12,7 +12,7 @@ window.addEventListener('message', (event) => {
|
||||
} catch (error) {
|
||||
window.parent.postMessage(JSON.stringify({
|
||||
id: data.id,
|
||||
error
|
||||
error: error.toString()
|
||||
}), '*')
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user