Fixes for middleware compilation errors (#37984)
* Refactor `runDependingOnPageType` * Throw specific error when the compiled middleware cannot be found * Do not render `MiddlewareNotFoundError` on dev * Allow to invalidate compilers by type * Show compile errors when middleware fails to build * Add tests
Showing
Please
register
or
sign in
to comment