You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Debug/Handle Errors - Capture console log and posibly network activity in Javascript

edited Jun 2, 2020 5:20PM in Visual Builder 2 comments

Content

One of the best ways for us to identify and fix issues with our VBCS application is to look at the console log and network activity.  However, it can be difficult when dealing with the user community.  If a user encounters an error in the application, we can't really expect them to download the console log and network activity for us.

We are wondering if there is a way for us to use Javascript to capture the console log and network activity and either dump it to a file or write it to a database table.  We are thinking we could do this in an action chain whenever an error occurs or we could even put an event on a page and have the user click a button or specific keys which would download the logs to a file which they can then email to us.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!