return node.render_to_response(request, path=path, subpath=subpath)
except Http404, e:
if settings.DEBUG:
- raise e
+ raise
try:
Http404View = node.relationships['Http404']
return Http404View.render_to_response(node, request, path, subpath, extra_context)
except Exception, e:
if settings.DEBUG:
- raise e
+ raise
try:
Http500View = node.relationships['Http500']