Skip to content

Do not use die() when there is a db error#166

Merged
swissspidy merged 1 commit intomainfrom
no-time-to-die
Oct 20, 2023
Merged

Do not use die() when there is a db error#166
swissspidy merged 1 commit intomainfrom
no-time-to-die

Conversation

@swissspidy
Copy link
Member

This is a follow-up to #158

Using die() makes debugging super hard and caused me quite a headache with wp-cli/wp-cli-tests#187

@swissspidy
Copy link
Member Author

The failing tests are only the known SQLite ones

@swissspidy swissspidy merged commit 9de6ce3 into main Oct 20, 2023
@swissspidy swissspidy deleted the no-time-to-die branch October 20, 2023 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants