Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
π Fixed 500 errors for invalid theme layouts (TryGhost#19848)
ref ENG-742 ref https://linear.app/tryghost/issue/ENG-742 We don't do any parsing of layouts in gscan, which means themes can be uploaded which use non-existent files for their layout. We can catch the error in the res.render call, and wrap it, just like we do for missing templates (e.g. the StaticRoutesRouter)
- Loading branch information