Add error boundaries and log for JS to theme

Description

As a user I don't want the theme to loading to fail if some sub-function call fails.
I also want to know if there is an issue with the theme.

 

Accepted Criteria:

  • Catch errors of a JS function and output them for the user in the

    • in a menu in the site preview

    • in the browser console in the live site

 

Environment

None

Assignee

Unassigned

Reporter

Sync User [K15t]

Labels

None

Participants

None

QA Status

None

Deployment

None

Documentation Status

None

UI Concept

None

External Votes

None

Components

Configure