[tahoe-lafs-trac-stream] [Tahoe-LAFS] #3420: Twisted web Resources should "return ErrorPage" instead of "raise WebError"
Tahoe-LAFS
trac at tahoe-lafs.org
Fri Sep 18 18:02:21 UTC 2020
#3420: Twisted web Resources should "return ErrorPage" instead of "raise
WebError"
-----------------------------------+------------------------------
Reporter: sajith | Owner: sajith
Type: defect | Status: assigned
Priority: normal | Milestone: Support Python 3
Component: code-frontend-web | Version: n/a
Resolution: | Keywords:
Launchpad Bug: |
-----------------------------------+------------------------------
Description changed by exarkun:
Old description:
> 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.
New description:
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.
Sub-tickets:
- https://tahoe-lafs.org/trac/tahoe-lafs/ticket/3422
- https://tahoe-lafs.org/trac/tahoe-lafs/ticket/3423
- https://tahoe-lafs.org/trac/tahoe-lafs/ticket/3424
- https://tahoe-lafs.org/trac/tahoe-lafs/ticket/3425
- https://tahoe-lafs.org/trac/tahoe-lafs/ticket/3426
- https://tahoe-lafs.org/trac/tahoe-lafs/ticket/3427
--
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/3420#comment:3>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list