midgardproject / midgard-php5

PHP5 API for Midgard persistent storage framework
http://www.midgard-project.org/api-docs/midgard/php/ratatoskr/
GNU Lesser General Public License v2.1
9 stars 2 forks source link

Better error message when provider is not installed #106

Open piotras opened 11 years ago

piotras commented 11 years ago

When you set the configuration file with "midgard.configuration" and don't have the correct provider installed, you will only get an error stating "connection failed". But if you use "midgard.configuration_file", the error message says "Provider 'MySQL' not found". It would be really helpful if this error message could be shown in both cases

Copied from: https://github.com/midgardproject/midgard-core/issues/193