Skip to content

Commit 296742e

Browse files
authored
#v3.4.2203.0-rc - Change in restcli #9
1 parent 01381eb commit 296742e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bitpay/utils/rest_cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ def response_to_json_string(self, response):
125125

126126
if "error" in response_obj:
127127
raise BitPayException(
128-
"Error: " + response_obj["error"], response_obj["code"]
128+
"Error: " + response_obj["error"]
129129
)
130130
elif "errors" in response_obj:
131131
message = ""

0 commit comments

Comments
 (0)