10e97cad23
- in the event we get an unknown error bubble up, we don't handle the templating on the error name - `@tryghost/tpl` throws an error because we pass an undefined string: `Cannot read properties of undefined (reading 'replace')` - this commit adds handling to fallback to a different user message in that event so we don't cause a 500 error |
||
---|---|---|
.. | ||
utils | ||
.eslintrc.js | ||
error-handler.test.js |