From d25a88c107b09eac1d658f9a495d1abed41c9a72 Mon Sep 17 00:00:00 2001 From: BobTheBuidler <70677534+BobTheBuidler@users.noreply.github.com> Date: Thu, 9 Nov 2023 21:29:34 -0500 Subject: [PATCH] fix: DankMidsClientResponseError (#106) --- dank_mids/_exceptions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dank_mids/_exceptions.py b/dank_mids/_exceptions.py index e69936a8..6c217642 100644 --- a/dank_mids/_exceptions.py +++ b/dank_mids/_exceptions.py @@ -38,7 +38,7 @@ def __init__( request: "PartialRequest", ) -> None: self.request = request - super().__init__(exc.request_info, exc.history, code=exc.code, status=exc.status, message=exc.message, headers=exc.headers) + super().__init__(exc.request_info, exc.history, status=exc.status, message=exc.message, headers=exc.headers) self.args = (*exc.request_info, exc.history, request) self._exception = exc