Welcome Guest Search | Active Topics | Sign In | Register

EO.WebBrowser - how to catch the information in Console when a file load failed Options
Qiang
Posted: Monday, October 17, 2016 4:57:19 AM
Rank: Advanced Member
Groups: Member

Joined: 10/10/2016
Posts: 35
Hi EO,

As you know, when we loading web page, some files maybe load failed, if we want to write these messages to the error log, what should we do? Does EO has any functions to do this?

I try to use WebView.ConsoleMessage, it's good for catch javascript error in the page. But the function can't catch "Failed to load resource: net::ERR_FILE_NOT_FOUND" error.

Thanks & Regards,
Qiang
eo_support
Posted: Monday, October 17, 2016 11:04:42 AM
Rank: Administration
Groups: Administration

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

Where do you see the "Failed to load resource" error? In developer tools' console window?

Thanks!
Qiang
Posted: Monday, October 17, 2016 9:50:02 PM
Rank: Advanced Member
Groups: Member

Joined: 10/10/2016
Posts: 35
Hi,

Yes, I see the error in Chrome's Console window. I remove a css file firstly in order to test this scenario. You can see the error in following picture:



Thanks & Regards,
Qiang
eo_support
Posted: Tuesday, October 18, 2016 12:18:33 PM
Rank: Administration
Groups: Administration

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

This is not currently supported. We will support this in our next build.

Thanks!
Qiang
Posted: Wednesday, October 19, 2016 1:20:25 AM
Rank: Advanced Member
Groups: Member

Joined: 10/10/2016
Posts: 35
Hi EO,

Thank you very much.

Regards,
Qiang
eo_support
Posted: Thursday, October 20, 2016 1:07:01 PM
Rank: Administration
Groups: Administration

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

We have posted a new build that added support to this. You can download the new build from our download page.

Thanks!
Qiang
Posted: Sunday, October 23, 2016 9:47:51 PM
Rank: Advanced Member
Groups: Member

Joined: 10/10/2016
Posts: 35
Hi EO,

Thanks, it works now.

Regards,
Qiang
eo_support
Posted: Monday, October 24, 2016 8:35:18 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,229
Great. Thanks for confirming the fix!


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.