Skip to content

Conversation

@crynobone
Copy link
Member

@crynobone crynobone commented Jun 4, 2024

Laravel only register Renderer instance when the application is booted with app.debug as true. This would cause an error (mainly during development) if the configuration were changed to true before an exception occurred.

at runtime

Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
@crynobone crynobone changed the title [11.x] Avoid using Laravel new renderer if app.debug changes to true at runtime [11.x] Avoid using Laravel new error page if app.debug changes to true at runtime Jun 4, 2024
Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
@crynobone crynobone marked this pull request as ready for review June 4, 2024 07:49
@taylorotwell taylorotwell merged commit 6adf982 into 11.x Jun 4, 2024
@taylorotwell taylorotwell deleted the mismatch-debug branch June 4, 2024 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants