[tahoe-lafs-trac-stream] [Tahoe-LAFS] #3420: Twisted web Resources should "return ErrorPage" instead of "raise WebError"

Tahoe-LAFS trac at tahoe-lafs.org
Tue Oct 20 18:20:28 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:                     |
-----------------------------------+------------------------------

Comment (by exarkun):

 This is somewhat mitigated by the work for ticket:3422 which introduced
 the `@render_exception` decorator which will transform an exception into
 an ErrorPage.

 This may still be a sensible change to make but we don't need it to fully
 escape Nevow at this point.

 Though all the currently linked sub-tickets are resolved there are still
 some parts of the web code that do raise `WebError`.  I think we just
 didn't get around to filing tickets for them.

--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/3420#comment:6>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list