Printing error message if not successful by now