From 4964ac9e13e0b6ca00f9dcf234fd922d8f6ae7cd Mon Sep 17 00:00:00 2001
From: Shayan Hajipour <shajipour@cttc.es>
Date: Tue, 11 Feb 2025 09:33:56 +0000
Subject: [PATCH] Apply 1 suggestion(s) to 1 file(s)

Co-authored-by: Shayan Hajipour <shajipour@cttc.es>
---
 .../service/rest_server/nbi_plugins/camara_qod/Resources.py   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/nbi/service/rest_server/nbi_plugins/camara_qod/Resources.py b/src/nbi/service/rest_server/nbi_plugins/camara_qod/Resources.py
index 7d81db99c..d6b4ee3fc 100644
--- a/src/nbi/service/rest_server/nbi_plugins/camara_qod/Resources.py
+++ b/src/nbi/service/rest_server/nbi_plugins/camara_qod/Resources.py
@@ -163,9 +163,9 @@ class qodinfo(_Resource):
             response = format_grpc_to_json(self.service_client.CreateService(stripped_service))
             response = format_grpc_to_json(self.service_client.UpdateService(service))
         except Exception as e: # pylint: disable=broad-except
-            
+            LOGGER.error(f"error related to response: {response}")
             return e
-        LOGGER.info(f"error related to response: {response}")
+
         return response
     
     def get(self):
-- 
GitLab