Closed rhertogh closed 5 years ago
Q | A |
---|---|
Is bugfix? | no |
New feature? | no |
Breaks BC? | no |
Tests pass? | yes |
Fixed issues | - |
AFAIK it was intentionally left in this way to not disclose DB backend used by app.
@rob006 I don't think that would be an issue since that kind of exception would generally not be shown (in the web application a 'internal server error' is shown to the client).
The "problem" is that is currently looks like the default 'db' component causing the error. We use 4 different database systems and this error actually occurred when the application was trying do do some MySql logic but could not use the cache (for which we use redis). Therefore this error message is very ambiguous.
The full message should be in error log:
yii\redis\Exception
so it is clear that this is about the redis db connection.Thanks for the suggestion anyway!