mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-20 17:52:50 +00:00
Turn exceptions into error pages like Nevow does
This commit is contained in:
parent
34bade4091
commit
e7101b1711
@ -64,5 +64,6 @@ def render(resource, query_args):
|
||||
|
||||
resource = INevowResource(resource)
|
||||
d = maybeDeferred(resource.renderHTTP, ctx)
|
||||
d.addErrback(processingFailed, req, ctx)
|
||||
d.addCallback(maybe_concat)
|
||||
return d
|
||||
|
Loading…
x
Reference in New Issue
Block a user