mercurial/hgweb/hgweb_mod.py
changeset 39777 b63dee7bd0d9
parent 39470 17ca967e9fca
child 40728 2cd5f1fac788
--- a/mercurial/hgweb/hgweb_mod.py	Tue Sep 18 16:45:13 2018 -0700
+++ b/mercurial/hgweb/hgweb_mod.py	Tue Sep 18 16:47:09 2018 -0700
@@ -435,7 +435,7 @@
             res.status = '404 Not Found'
             res.headers['Content-Type'] = ctype
             return rctx.sendtemplate('error', error=msg)
-        except (error.RepoError, error.RevlogError) as e:
+        except (error.RepoError, error.StorageError) as e:
             res.status = '500 Internal Server Error'
             res.headers['Content-Type'] = ctype
             return rctx.sendtemplate('error', error=pycompat.bytestr(e))