Display detailed warning on operation failure
This commit is contained in:
parent
7ac0d6bd94
commit
de404480e4
|
@ -46,6 +46,7 @@ function ReceiveMessage(event)
|
|||
},"*");
|
||||
}
|
||||
function ReplyError(error) {
|
||||
console.warn("Embed error:",error);
|
||||
if(typeof error=="object")
|
||||
error = {
|
||||
message: error.message,
|
||||
|
|
Loading…
Reference in a new issue