poggit / libasynql

Asynchronous MySQL access library for PocketMine plugins.
https://poggit.github.io/libasynql
Apache License 2.0
134 stars 45 forks source link

Bad exception message if not all dialects supported #16

Closed SOF3 closed 4 years ago

SOF3 commented 5 years ago

If $sqlMap only contains "mysql" as a key, and user puts sqlite in the config, this exception gets thrown: Unsupported database type "sqlite". Try "sqlite" or "mysql"."

The suggestions are wrong.