Skip to content

Conversation

@paulbalandan
Copy link
Member

Description
This PR changes the error output for DB connections to be more verbose than the generic Unable to connect to the database.. This is an attempt to reduce questions on the forum regarding this despite raising the logging threshold to 4.

php spark migrate --all

image

Checklist:

  • Securely signed commits
  • Unit testing, with >80% coverage
  • Conforms to style guide

@paulbalandan paulbalandan force-pushed the verbose-db-error-output branch from ea83359 to d42a419 Compare February 13, 2021 10:01
@paulbalandan paulbalandan force-pushed the verbose-db-error-output branch from d42a419 to 0690104 Compare February 17, 2021 12:53
@paulbalandan paulbalandan requested a review from MGatner February 17, 2021 12:55
Copy link
Member

@MGatner MGatner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One question, but overall this looks like a vast improvement. I like the differentiation between primary and failover errors, nice touch!

@paulbalandan paulbalandan force-pushed the verbose-db-error-output branch from 0690104 to 1ce1f8f Compare February 17, 2021 15:11
@paulbalandan paulbalandan requested a review from MGatner February 17, 2021 15:18
@paulbalandan paulbalandan force-pushed the verbose-db-error-output branch from 1ce1f8f to 51fa043 Compare February 24, 2021 16:10
@paulbalandan paulbalandan force-pushed the verbose-db-error-output branch from 51fa043 to 6214b4f Compare February 24, 2021 16:12
Copy link
Member

@MGatner MGatner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good pending tests.

@paulbalandan paulbalandan merged commit e466127 into codeigniter4:develop Feb 24, 2021
@paulbalandan paulbalandan deleted the verbose-db-error-output branch February 24, 2021 18:30
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.

4 participants