Removed excessive debugging logs

This commit is contained in:
Lyncoln
2026-10-18 01:03:10 -04:00
parent 7dd7258005
commit e59ac91c91
34 changed files with 7 additions and 14 deletions
Binary file not shown.
Binary file not shown.
+4 -3
View File
@@ -23,9 +23,10 @@ def buildOperation(definition, outputs):
responses.append(response) responses.append(response)
print("DEBUG ID GRAB. CHECK LASTMESSAGES") #print("DEBUG ID GRAB. CHECK LASTMESSAGES")
print(outputs) #print(outputs)
print(responses) #print(responses)
#except Exception as error: #except Exception as error:
#outputs = manageFailure(error, action, outputs) #outputs = manageFailure(error, action, outputs)
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
-2
View File
@@ -1,10 +1,8 @@
def buildImage(response, action, outputs): def buildImage(response, action, outputs):
if hasattr(action, "image"): if hasattr(action, "image"):
if response is not None: if response is not None:
#try:
imagebytes = response.content imagebytes = response.content
outputs[action.image] = imagebytes outputs[action.image] = imagebytes
#except AttributeError:
else: else:
print("No response received"), print("No response received"),
-6
View File
@@ -14,12 +14,6 @@ def buildLog (action, outputs, response):
if action.showstatus is True and response.ok: if action.showstatus is True and response.ok:
print(f"{action.name} successful") print(f"{action.name} successful")
try:
response_data = response.json()
except ValueError:
response_data = response.text
print(response_data)
elif action.showstatus is True and not response.ok: elif action.showstatus is True and not response.ok:
print(f"{action.name} failed with status code {response.status_code}") print(f"{action.name} failed with status code {response.status_code}")
+2 -2
View File
@@ -9,8 +9,8 @@ def recursiveSet(definition, outputs):
for job in recursiveset: for job in recursiveset:
outputs, response = buildAction(job, outputs) outputs, response = buildAction(job, outputs)
print(outputs["profile"]) #print(outputs["profile"])
print(outputs["messages"]) #print(outputs["messages"])
return outputs return outputs
from core.execution.action.action import buildAction from core.execution.action.action import buildAction
Binary file not shown.
Binary file not shown.
+1 -1
View File
@@ -1 +1 @@
{"access_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJleHAiOjE3OTI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