mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 20:03:12 +03:00
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 |
||
---|---|---|
.. | ||
mw-error-handler.js |