Added a lot of logging to error, trace and message logs which should help the user to handle errors which can't be automatically resolved, like attempt to use nonexisting database.
Example Galera Connection router for HA environments. Code produced as part of router writers tutorial.