How to get detailed error messages from users

Some of the users of my custom app are getting the “Sorry, an error occurred” message, but I can’t reproduce the problem on my computer when I follow the same steps-- is there some way for me to access, or else for them to send me more details of the error like you can see in development mode?

Thanks!

Implement try {insert code here} catch(err) {console.log(err)} or something to that effect to display what the actual error message is in the browser console.

If you can push new code to the users of your custom app, you can try Kamille’s approach.

If you cannot push new code to your users, you can ask them to run the app in a web browser, open the developer console and see what errors show up there.

Other options including asking if they can share their base with you, having them show you during an online meeting, etc.