view_review.py
def display_error(self, error):
        """
        Prints a given error message to the console and return a rendering of the viewReview.html page with
        a generic error message in it
        INPUT: -self,
               -error (the error we wil to print to the console)
        OUTPUT: an error page rendering of the viewReview template
        """
        # We may consider adding logging-
        logging.error("View Review - " + str(error))
        return render_template('viewReview.html', error="Something went wrong")

        Prints a given error message to the console and return a rendering of the viewReview.html page with
        a generic error message in it
        INPUT: -self,
               -error (the error we wil to print to the console)
        OUTPUT: an error page rendering of the viewReview template
        
Prints a given error message to the console and return a rendering of the viewReview.html page with
a generic error message in it
INPUT: -self,
error (the error we wil to print to the console)
OUTPUT: an error page rendering of the viewReview template
Prints a given error message to the console and return a rendering of the viewReview . html page with a generic error message in it INPUT : - self error ( the error we wil to print to the console ) OUTPUT : an error page rendering of the viewReview template
def display_error(self, error):
        logging.error("View Review - " + str(error))
        return render_template('viewReview.html', error="Something went wrong")
def display_error ( self , error ) : logging . error ( "View Review - " + str ( error ) ) return render_template ( 'viewReview.html' , error = "Something went wrong" )
Prints a given error message to the console and return a rendering of the viewReview.html page with
a generic error message in it
INPUT: -self,
error (the error we wil to print to the console)
OUTPUT: an error page rendering of the viewReview template
Prints a given error message to the console and return a rendering of the viewReview . html page with a generic error message in it INPUT : - self error ( the error we wil to print to the console ) OUTPUT : an error page rendering of the viewReview template
"""
        Prints a given error message to the console and return a rendering of the viewReview.html page with
        a generic error message in it
        INPUT: -self,
               -error (the error we wil to print to the console)
        OUTPUT: an error page rendering of the viewReview template
        """ # We may consider adding logging-
self
error