Show error message if connection to DB fails.