def reraise(exc, backend):
    new = copy_exception(exc, backend)
    six.reraise(exc.__class__, new, sys.exc_info()[2])
Reraise TemplateDoesNotExist while maintaining template debug information.
dataset/ETHPy150Open django/django/django/template/backends/django.py/reraise