Skip to content

Commit f275cc9

Browse files
fix: logging an error when one of the SARIF reports return no results and moves on processing other SARIF files
1 parent 1414460 commit f275cc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ def main():
122122
issue_type = "Task"
123123
)
124124
else:
125-
raise Exception("No results found.")
125+
logger.error("[" + sarif_tool_name + "]: No results found.")
126126

127127
logger.info("Success.")
128128

0 commit comments

Comments
 (0)