Welcome Guest Search | Active Topics | Sign In | Register

Is there now a way to trap errors Options
penright
Posted: Monday, May 13, 2024 5:39:18 PM

Rank: Advanced Member
Groups: Member

Joined: 10/30/2017
Posts: 41
Someone asked this question in 2017, topic "How to trap a frame error". At that time you said EO.WebBrowser does not provide a way to trap errors. Has that been added or is JavaScript still the suggested answer?
This person wanted to log it, we would like to end the program which shows a form.

eo_support
Posted: Tuesday, May 14, 2024 9:37:12 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,151
Hi,

I am not exactly sure what you meant by "how to trap a frame error". Do you mean by how to trap errors in JavaScript code? Every time an error occurs in JavaScript code, WebView.ConsoleMessage will be triggered with e.Severity set to Error.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.