Skip to content

improve error message when a requested pdo extension is missing#16168

Merged
markstory merged 1 commit intocakephp:4.xfrom
LordSimal:4.x
Dec 3, 2021
Merged

improve error message when a requested pdo extension is missing#16168
markstory merged 1 commit intocakephp:4.xfrom
LordSimal:4.x

Conversation

@LordSimal
Copy link
Copy Markdown
Contributor

image

As seen in https://discourse.cakephp.org/t/debugkit-4-in-cakephp4/9950/7 it can be pretty hard to help someone who has issues with a MissingExtensionException.

This PR adds the connection name to the exception so one can more easily determine if its e.g. a plugins connection or some other connection which requires a missing pdo extension.

@markstory markstory added this to the 4.3.3 milestone Dec 3, 2021
@markstory markstory merged commit 8e795dd into cakephp:4.x Dec 3, 2021
@markstory
Copy link
Copy Markdown
Member

Thank you 👍

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.

2 participants