From 0f2f0bf78b8cea6c4c4de1f0d57ec6ff5d6d4c4b Mon Sep 17 00:00:00 2001 From: garciadeblas Date: Fri, 21 Mar 2025 14:48:12 +0100 Subject: [PATCH] Add debug logs for some missing functions Change-Id: I4819fb2335ecb348f60859424bcb61a4accf254d Signed-off-by: garciadeblas --- osmclient/cli_commands/other.py | 1 + osmclient/sol005/http.py | 1 + 2 files changed, 2 insertions(+) diff --git a/osmclient/cli_commands/other.py b/osmclient/cli_commands/other.py index b51a868..d2ce70f 100755 --- a/osmclient/cli_commands/other.py +++ b/osmclient/cli_commands/other.py @@ -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( diff --git a/osmclient/sol005/http.py b/osmclient/sol005/http.py index 5b140f5..a506b37 100644 --- a/osmclient/sol005/http.py +++ b/osmclient/sol005/http.py @@ -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: -- 2.25.1