Asif | Added an error message when the app fails to connect to the database