Ghost/ghost/mw-error-handler/test
Daniel Lockyer 10e97cad23 Handled unknown errors when preparing user message
- 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
2022-03-24 10:06:55 +00:00
..
utils
.eslintrc.js
error-handler.test.js Handled unknown errors when preparing user message 2022-03-24 10:06:55 +00:00