[tahoe-lafs-trac-stream] [Tahoe-LAFS] #3420: Twisted web Resources should "return ErrorPage" instead of "raise WebError"
Tahoe-LAFS
trac at tahoe-lafs.org
Thu Sep 17 20:59:54 UTC 2020
#3420: Twisted web Resources should "return ErrorPage" instead of "raise
WebError"
---------------------+---------------------------
Reporter: sajith | Owner:
Type: defect | Status: new
Priority: normal | Milestone: undecided
Component: unknown | Version: n/a
Keywords: | Launchpad Bug:
---------------------+---------------------------
In case of errors, twisted.web `Resource` instances should be responding
with an error page, instead of throwing an exception. Any `raise
WebError` instances we have in Tahoe WUI should be replaced with `return
ErrorPage`.
More background is in [[https://github.com/tahoe-lafs/tahoe-
lafs/pull/781|this discussion]] at !GitHub about a PR that solves #3382.
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/3420>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list