Skip to content

Commit 49087b1

Browse files
Update api.py
Added debug output for the full URL
1 parent 272a116 commit 49087b1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/rabbitmq/api.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ def call_api(self, path):
3333
password_mgr.add_password(None, url, self.user_name, self.password)
3434
handler = urllib2.HTTPBasicAuthHandler(password_mgr)
3535
logging.debug('Issue a rabbit API call to get data on ' + path + " against " + self.host_name)
36+
logging.debug('Full URL:' + url)
3637
return json.loads(urllib2.build_opener(handler).open(url).read())
3738

3839
def list_queues(self, filters=None):

0 commit comments

Comments
 (0)