Add exceptions.js so all frontend errors are logged