diff --git a/Sources/pyOpenRPA/Studio/Web/Index.xhtml b/Sources/pyOpenRPA/Studio/Web/Index.xhtml index db93f655..218df737 100644 --- a/Sources/pyOpenRPA/Studio/Web/Index.xhtml +++ b/Sources/pyOpenRPA/Studio/Web/Index.xhtml @@ -586,8 +586,10 @@ var lDataJSON=JSON.parse(lData) $(".gui-result").html(JSON.stringify(lDataJSON.Result)) ///Показать ошибку, если таковая возникла - if (lDataJSON["ErrorFlag"]) { - mGlobal.ShowModal("GUI Error",lDataJSON.ErrorMessage+" \nTraceback: "+lDataJSON.ErrorTraceback); + for (i = 0; i< lDataJSON.length; i++) { + if (lDataJSON[i]["ErrorFlag"]) { + mGlobal.ShowModal("GUI Error",lDataJSON[i].ErrorMessage+" \nTraceback: "+lDataJSON[i].ErrorTraceback); + } } }, dataType: "text"