Closed shawnbot closed 2 years ago
I saw some errors that crashed the web app in Papertrail:
Apr 29 00:21:17 formio-sfds app/web.1 /app/src/phrase.js:88 Apr 29 00:21:17 formio-sfds app/web.1 form.properties || form.form.properties, Apr 29 00:21:17 formio-sfds app/web.1 ^ Apr 29 00:21:17 formio-sfds app/web.1 TypeError: Cannot read properties of undefined (reading 'properties') Apr 29 00:21:17 formio-sfds app/web.1 at Phrase.get props [as props] (/app/src/phrase.js:88:36) Apr 29 00:21:17 formio-sfds app/web.1 at Phrase.getTranslationInfo (/app/src/phrase.js:100:13) Apr 29 00:21:17 formio-sfds app/web.1 at module.exports (/app/api/wtf.js:82:27)
This should prevent that specific error from happening, but it's a bigger problem that this took the entire server down. Clearly we need better error handling 😬
Size Change: +9 B (0%)
Total Size: 89.7 kB
dist/formio-sfds.standalone.js
compressed-size-action
I saw some errors that crashed the web app in Papertrail:
This should prevent that specific error from happening, but it's a bigger problem that this took the entire server down. Clearly we need better error handling 😬