Skip to content

Commit 74fdaf8

Browse files
When testingbotclient fails to connect to API, show the URL that the client was trying to reach
1 parent a4ae015 commit 74fdaf8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

testingbotclient.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import sys
55
import json
66
import os
7-
__version__ = '0.0.3'
7+
__version__ = '0.0.4'
88

99
is_py2 = sys.version_info[0] is 2
1010

@@ -61,7 +61,7 @@ def request(self, method, url, body=None):
6161
connection.close()
6262
if response.status != 200:
6363
raise TestingBotException('Failed to contact TestingBot API: %s | %s' %
64-
(response.status, response.reason))
64+
(response.status, "/v1" + url))
6565
return json_data
6666

6767
def get_encoded_auth_string(self):

0 commit comments

Comments
 (0)