Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ensure debug is on before output the error message #5661

Merged
merged 1 commit into from
Sep 16, 2024

Conversation

pxpm
Copy link
Contributor

@pxpm pxpm commented Sep 16, 2024

WHY

fixes: #5653

BEFORE - What was wrong? What was happening before this PR?

A user reported that in certain circumstances when app.debug = false the error messages were printed anyway.

AFTER - What is happening after this PR?

We only print the error messages when debug = true.

@pxpm pxpm merged commit 1e64288 into main Sep 16, 2024
9 checks passed
@pxpm pxpm deleted the dont-output-error-messages-when-app-debug-is-false branch September 16, 2024 13:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

[Bug] 500 Error prints raw SQL despite ENV=production/debug off
1 participant