'View old exception reports'

def view(self, environ, start_response):

    id = int(request.path_info_pop(environ))
    if (id not in self.debug_infos):
        start_response('500    Server    Error', [('Content-type', 'text/html')])
        return [('Traceback    by    id    %s    does    not    exist    (maybe    the    server    has    been    restarted?)' % id)]
    debug_info = self.debug_infos[id]
    return debug_info.wsgi_application(environ, start_response)
