Skip to content

Commit 4361f14

Browse files
committed
add print
1 parent 69e5e4d commit 4361f14

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/safety_report_generator.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,11 @@ def generate(self):
213213
self.safety_check_output = self.run_safety_check_in_non_cb_context()
214214
elif os.getenv("IS_CODEBUILD_IMAGE").upper() == "TRUE":
215215
self.safety_check_output = self.run_safety_check_in_cb_context()
216+
217+
print(f"DEBUG: safety_check_output is None: {self.safety_check_output is None}")
218+
print(f"DEBUG: safety_check_output length: {len(self.safety_check_output) if self.safety_check_output else 0}")
219+
print(f"DEBUG: safety_check_output content: {repr(self.safety_check_output)}")
220+
216221
# In case of errors, json.loads command will fail. We want the failure to occur to ensure that
217222
# build process fails in case the safety report cannot be generated properly.
218223
scanned_vulnerabilities = json.loads(self.safety_check_output)

0 commit comments

Comments
 (0)