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

Clean up error templates. #993

Merged
merged 1 commit into from
Feb 21, 2024
Merged

Clean up error templates. #993

merged 1 commit into from
Feb 21, 2024

Conversation

ADmad
Copy link
Member

@ADmad ADmad commented Feb 21, 2024

With debug enabled the WebExceptionRenderer switches the template to pdo_error.php in case of a PDOException, so having checks for SQL query related stuff in debug mode is redundant.

Refs #970, closes #992.

@ADmad ADmad added this to the 5.x milestone Feb 21, 2024
With debug enabled the WebExceptionRenderer switches the template to pdo_error.php in case
of a PDOException, so having checks for SQL query related stuff in debug mode is redundant.

Refs #970, closes #992.
@othercorey
Copy link
Member

Looks ok to me.

@markstory markstory merged commit 2fd3ace into 5.x Feb 21, 2024
4 checks passed
@markstory markstory deleted the error-templates branch February 21, 2024 20:43
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.

Error templates
3 participants