Add a debug output for testing purpose. 21/3821/1
authorasteroide <thomas.duval@orange.com>
Tue, 1 Dec 2015 14:22:57 +0000 (15:22 +0100)
committerasteroide <thomas.duval@orange.com>
Tue, 1 Dec 2015 14:22:57 +0000 (15:22 +0100)
Change-Id: I3f830afa9f8d15c14e4685f3618d92acfaedbc1d

moonclient/moonclient/shell.py

index 65adbc0..1be1a42 100644 (file)
@@ -182,6 +182,8 @@ class MoonClient(App):
             return content
         except ValueError:
             raise Exception("Getting an error while requiring {} ({})".format(url, content))
+        finally:
+            self.log.debug(str(content))
 
     def auth_keystone(self, username=None, password=None, host=None, port=None):
         """Send a new authentication request to Keystone