don't die on database connection errors and display error messages for easier debugging