Skip to content

Commit 0325f62

Browse files
Merge pull request #14 from GeorgeDavis-Ibexlabs/dev
Fix: Replace exception with a logging errors when a SARIF file has no results
2 parents 4c642ca + f275cc9 commit 0325f62

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

DOCKER.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Project Status: **In Active Development**
5656

5757
```
5858
- name: Create JIRA tickets from SARIF
59-
uses: GeorgeDavis-Ibexlabs/publish-sarif-to-jira@v0.0.9
59+
uses: GeorgeDavis-Ibexlabs/publish-sarif-to-jira@v0.0.10
6060
```
6161
Refer to [Create JIRA tickets from SARIF using GitHub Actions](https://github.com/marketplace/actions/create-jira-tickets-from-sarif)
6262

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ Project Status: **In Active Development**
5555

5656
```
5757
- name: Create JIRA tickets from SARIF
58-
uses: GeorgeDavis-Ibexlabs/publish-sarif-to-jira@v0.0.9
58+
uses: GeorgeDavis-Ibexlabs/publish-sarif-to-jira@v0.0.10
5959
```
6060
Refer to [Create JIRA tickets from SARIF using GitHub Actions](https://github.com/marketplace/actions/create-jira-tickets-from-sarif)
6161

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)