From 209c83c4f60447351e1343d98652459f2a3d0d45 Mon Sep 17 00:00:00 2001 From: Jean-Paul Calderone <exarkun@twistedmatrix.com> Date: Mon, 10 Jan 2022 21:14:53 -0500 Subject: [PATCH] link to twisted tickets related to this --- src/_zkapauthorizer/controller.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/_zkapauthorizer/controller.py b/src/_zkapauthorizer/controller.py index 8823406..f58192b 100644 --- a/src/_zkapauthorizer/controller.py +++ b/src/_zkapauthorizer/controller.py @@ -52,6 +52,10 @@ from .model import Voucher RETRY_INTERVAL = timedelta(milliseconds=1000) +# It would be nice to have frozen exception types but Failure.cleanFailure +# interacts poorly with these. +# https://twistedmatrix.com/trac/ticket/9641 +# https://twistedmatrix.com/trac/ticket/9771 @attr.s(auto_attribs=True) class UnexpectedResponse(Exception): """ -- GitLab