From 96e03493f83c0498327f6846c061dc4d19cced00 Mon Sep 17 00:00:00 2001
From: Nico Alt <nicoalt@posteo.org>
Date: Sun, 7 Mar 2021 12:35:05 +0100
Subject: [PATCH] Correct call super function

---
 briar_wrapper/exceptions/pending_already_exists_contact.py      | 2 +-
 .../exceptions/pending_already_exists_pending_contact.py        | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/briar_wrapper/exceptions/pending_already_exists_contact.py b/briar_wrapper/exceptions/pending_already_exists_contact.py
index e012133..1b29392 100644
--- a/briar_wrapper/exceptions/pending_already_exists_contact.py
+++ b/briar_wrapper/exceptions/pending_already_exists_contact.py
@@ -13,4 +13,4 @@ class PendingContactAlreadyExistsContact(BriarWrapperException):
         self.response = response
         error = response.json()
         self.remote_author_name = error["remoteAuthorName"]
-        super().__init__(message)
+        super().__init__(response, message)
diff --git a/briar_wrapper/exceptions/pending_already_exists_pending_contact.py b/briar_wrapper/exceptions/pending_already_exists_pending_contact.py
index 5552573..63c23a3 100644
--- a/briar_wrapper/exceptions/pending_already_exists_pending_contact.py
+++ b/briar_wrapper/exceptions/pending_already_exists_pending_contact.py
@@ -14,4 +14,4 @@ class PendingContactAlreadyExistsPendingContact(BriarWrapperException):
         error = response.json()
         self.pending_contact_alias = error["pendingContactAlias"]
         self.pending_contact_id = error["pendingContactId"]
-        super().__init__(message)
+        super().__init__(response, message)
-- 
GitLab