From 4ce8d19d9bed1de3f4cd76030a706c8b093c166d Mon Sep 17 00:00:00 2001 From: BobTheBuidler <70677534+BobTheBuidler@users.noreply.github.com> Date: Sun, 19 Nov 2023 19:05:21 -0500 Subject: [PATCH] fix: DankMidsClientResponseError (#111) --- 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 6c217642..5dc668fa 100644 --- a/dank_mids/_exceptions.py +++ b/dank_mids/_exceptions.py @@ -39,7 +39,7 @@ def __init__( ) -> None: self.request = request 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.args = (*self.args, request) self._exception = exc internal_err_types = Union[AttributeError, TypeError, UnboundLocalError, NotImplementedError, RuntimeError, SyntaxError]