call the method self.handle_uncaught_exception with request, resolver and return value of the function sys.exec_info as the arguments.
response = self . handle_uncaught_exception ( request , resolver , sys . exc_info ( ) )