def handle_uncaught_exception(request, resolver, exc_info):
 if settings.DEBUG_PROPAGATE_EXCEPTIONS:
  raise
 logger.error('Internal Server Error: %s', request.path, exc_info=exc_info, extra={'status_code': 500, 'request': request})
 if settings.DEBUG:
  return debug.technical_500_response(request, *exc_info)
 (callback, param_dict) = resolver.resolve_error_handler(500)
 return callback(request, **param_dict)

def handle_uncaught_exception ( request , resolver , exc_info ) : if settings . DEBUG_PROPAGATE_EXCEPTIONS : raise logger . error ( 'Internal Server Error: %s' , request . path , exc_info = exc_info , extra = { 'status_code' : 500 , 'request' : request } ) if settings . DEBUG : return debug . technical_500_response ( request , * exc_info ) ( callback , param_dict ) = resolver . resolve_error_handler ( 500 ) return callback ( request , ** param_dict )
processing for any otherwise uncaught exceptions .