Skip to content

Commit 1041e0a

Browse files
author
Kevin Hellemun
committed
Added missing argument for UnknownApiErrorException. (#59)
1 parent a3ef206 commit 1041e0a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

bunq/sdk/exception_factory.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,11 @@ def create_exception_for_response(
9191
response_id
9292
)
9393

94-
return UnknownApiErrorException(error_message, response_code)
94+
return UnknownApiErrorException(
95+
error_message,
96+
response_code,
97+
response_id
98+
)
9599

96100
@classmethod
97101
def _generate_message_error(cls, response_code, messages, response_id):

0 commit comments

Comments
 (0)