How to track Forge Custom UI errors?

Just checking if there is a way to track Custom UI errors that get thrown in the browser.

UI Kit errors are displayed in Developer Console error logs. Is there any way to do same for Custom UI or using external services like Rollbar, Sentry etc. is the only option?

You may be able to create your own bespoke solution by sending messages to a Forge backend function to parse.

Otherwise an external service may be more convenient.