- Fixed a bug in the database connection error handling