mercurial/hgweb/hgwebdir_mod.py
changeset 7740 176d3d681702
parent 7637 1d54e2f6c0b7
child 7948 de377b1a9a84
child 8536 6796d41be421
--- a/mercurial/hgweb/hgwebdir_mod.py	Sat Feb 07 23:29:12 2009 +0100
+++ b/mercurial/hgweb/hgwebdir_mod.py	Mon Feb 09 11:29:09 2009 +0100
@@ -168,7 +168,7 @@
                 return tmpl("notfound", repo=virtual)
 
             except ErrorResponse, err:
-                req.respond(err.code, ctype)
+                req.respond(err, ctype)
                 return tmpl('error', error=err.message or '')
         finally:
             tmpl = None