popcodeorg/popcode

Cannot read property 'toString' of undefined

outoftime opened this issue · 1 comments

This is a followup to #2121, which tracked a regression in which this error became uncaught and broke user-facing behavior. The proximate cause of that regression was #1954, although through no fault of that PR; my guess is that we are missing graceful uncaught error handling logic in our redux-logic integration. So, a fix for this issue should:

  • Fix the specific TypeError here
  • Add graceful handling for uncaught errors in logics
  • Revert #2122

Error in Popcode

TypeError in /
Cannot read property 'toString' of undefined

View on Bugsnag

Stacktrace

validations/Validator.js:26 - t.value
validations/javascript/esprima.js:102 - t.value
validations/Validator.js:33 - t.value
validations/Validator.js:21 - t.<anonymous>

View full stacktrace

Created by Matthew Brown via Bugsnag

@outoftime I think I saw a recent reoccurrence of this error on the #errors slack channel after we started sending the sources up to Bugsnag. Any chance I could get a screenshot of what those sources might be and maybe we can resolve this issue? Thanks!