mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-03-25 05:05:16 +00:00
Merge pull request #820 from sajith/3424.return-errorpage-from-operations
Return ErrorPage from web.operations Fixes ticket:3424
This commit is contained in:
commit
4e4c5f9b7f
0
newsfragments/3424.minor
Normal file
0
newsfragments/3424.minor
Normal file
@ -17,6 +17,7 @@ from allmydata.web.common import (
|
||||
get_root,
|
||||
get_arg,
|
||||
boolean_of_arg,
|
||||
exception_to_child,
|
||||
)
|
||||
|
||||
MINUTE = 60
|
||||
@ -95,6 +96,7 @@ class OphandleTable(resource.Resource, service.Service):
|
||||
# https://tahoe-lafs.org/trac/tahoe-lafs/ticket/3314
|
||||
return url.URL.fromString(target)
|
||||
|
||||
@exception_to_child
|
||||
def getChild(self, name, req):
|
||||
ophandle = name
|
||||
if ophandle not in self.handles:
|
||||
|
Loading…
x
Reference in New Issue
Block a user