Skip to content

Commit 1d6ae62

Browse files
Update README.md
Signed-off-by: andrew-costello <[email protected]>
1 parent cdbe9c6 commit 1d6ae62

File tree

1 file changed

+2
-2
lines changed
  • docs/Secure-Coding-Guide-for-Python/CWE-693/CWE-778

1 file changed

+2
-2
lines changed

docs/Secure-Coding-Guide-for-Python/CWE-693/CWE-778/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ try:
2727
result = 10 / 0
2828
except ZeroDivisionError as e:
2929
print("Error occurred:", e)
30-
#Continues to execute
30+
3131
```
3232

3333
## Compliant Solution
@@ -45,7 +45,7 @@ try:
4545
result = 10 / 0
4646
except ZeroDivisionError:
4747
logging.critical("Error occurred: Division by zero")
48-
# Continues to execute
48+
4949
```
5050

5151
## Automated Detection

0 commit comments

Comments
 (0)