-
-
Notifications
You must be signed in to change notification settings - Fork 455
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
Enhance exception message #677
Conversation
@sebastianfeldmann Nice |
Can you add a test for this that trigger the exception ? |
I can definitely try ;) |
I added a unit test, found and fixed an error, thats good, but now I face a different problem. The exception we are trying to catch is of type List of options
So I'm kind of stuck. Any suggestions? |
Feel free to do that - bumping dependencies is NOT a BC break
Would avoid that - too easy to cause other bugs
This makes the BC boundary too complex to tackle. I would suggest bumping to |
The error we want to improve occures if doctrine needs to establish a connection to determine the platform version to register the types. The idea is to provide some more information so the user can understand what and why this is happening. You can follow up on the discussions here: #673 #677 Attention: The composer doctrine/dbal dependency had to be updated to "^2.5.12".
I followed your advice and bumped the dependency to To "mock" the Additionally I had to change the exception type. Hope that wasn't to confusing ;) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
@kimhemsoe can you check this?
@sebastianfeldmann Thanks! very nice |
The error occures if doctrine needs to establish a connection to
determine the platform version to register the types.
The idea is to provide some more information so the user can
understand what and why this is happening.
This is discussed at:
#673