Closed jjhampton closed 6 years ago
Looking at the window object on the OC page shows that Raven is defined. Makes me think it is being called before the script loads. One possible solution is to check to make sure it is defined first.
if (window.Raven) { Raven.config(...).install() }
Assigning self as placeholder for @ZacharyKearns - currently reviewing PR.
@jjhampton @ZacharyKearns I'm about to push a possible solution. I'm not able to see if it's catching any errors, but I've setup the code according to the docs.
Bug Report
What is the current behavior?
Getting console errors indicating that Raven (client-side logging library) is not working on production.
What is the expected behavior?
No console errors.
What steps did you take to get this behavior?
Navigate to www.operationcode.org, open DevTools and look at console.
Additional Info
Screenshots
Possibly related to PR #932. Labelling this as low, since Raven hasn't helped us much, and may not be configured properly.