Return error page from unlinked

This commit is contained in:
Sajith Sasidharan 2020-09-22 10:20:25 -04:00
parent 6d9e1a7a47
commit 0f118bdd67
2 changed files with 2 additions and 0 deletions

0
newsfragments/3427.minor Normal file
View File

View 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)