mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-19 03:06:33 +00:00
Merge pull request #816 from sajith/3427.return-error-page-from-unlinked
Return ErrorPage from unlinked Fixes ticket:3427
This commit is contained in:
commit
65f206e39b
0
newsfragments/3427.minor
Normal file
0
newsfragments/3427.minor
Normal file
@ -20,6 +20,7 @@ from allmydata.web.common import (
|
||||
WebError,
|
||||
get_format,
|
||||
get_mutable_type,
|
||||
render_exception,
|
||||
)
|
||||
from allmydata.web import status
|
||||
|
||||
@ -83,6 +84,7 @@ class UploadResultsPage(Resource, object):
|
||||
super(UploadResultsPage, self).__init__()
|
||||
self._upload_results = upload_results
|
||||
|
||||
@render_exception
|
||||
def render_POST(self, req):
|
||||
elem = UploadResultsElement(self._upload_results)
|
||||
return renderElement(req, elem)
|
||||
|
Loading…
Reference in New Issue
Block a user