From d5a024eb34bff9d92cc54055cd8807f901797aae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Ma=C5=9Blanka?= <piotr.maslanka@henrietta.com.pl> Date: Sun, 11 Jul 2021 23:14:55 +0200 Subject: [PATCH] fix the exception --- CHANGELOG.md | 2 ++ satella/exceptions.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9e3d8d79..4944a65a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1 +1,3 @@ # v2.17.15 + +* fix the exception diff --git a/satella/exceptions.py b/satella/exceptions.py index 49f50e6b..701d9a5e 100644 --- a/satella/exceptions.py +++ b/satella/exceptions.py @@ -22,7 +22,7 @@ class CustomException(Exception): """ def __init__(self, *args, **kwargs): - super().__init__(*args) + self.args = args self.kwargs = kwargs def __str__(self) -> str: -- GitLab