X Tutup
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 swissspidy added bug command:config-create Related to 'config create' command labels Oct 20, 2023
@swissspidy swissspidy added this to the 2.3.2 milestone Oct 20, 2023
@swissspidy swissspidy requested a review from a team as a code owner October 20, 2023 08:18
@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

Labels

bug command:config-create Related to 'config create' command

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

X Tutup