Skip to content
Snippets Groups Projects
Commit 0f2f0bf7 authored by garciadeblas's avatar garciadeblas
Browse files

Add debug logs for some missing functions


Change-Id: I4819fb2335ecb348f60859424bcb61a4accf254d
Signed-off-by: default avatargarciadeblas <gerardo.garciadeblas@telefonica.com>
parent 10e2cddf
No related branches found
No related tags found
No related merge requests found
......@@ -25,6 +25,7 @@ logger = logging.getLogger("osmclient")
@click.pass_context
def get_version(ctx):
"""shows client and server versions"""
logger.debug("")
utils.check_client_version(ctx.obj, "version")
print("Server version: {}".format(ctx.obj.get_version()))
print(
......
......@@ -264,6 +264,7 @@ class Http(http.Http):
return http_code, None
def check_http_response(self, http_code, data):
self._logger.debug("")
if http_code >= 300:
resp = ""
if data:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment