Skip to content

Commit 412d1d5

Browse files
Potential fix for pull request finding 'Empty except'
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
1 parent cc81337 commit 412d1d5

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

utils/cert_service.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ def issue_server_cert(
9696
x509.IPAddress(ipaddress.ip_address(ip_address))
9797
)
9898
except ValueError:
99+
# Invalid IP input is intentionally ignored; DNS SAN is still used.
99100
pass
100101
san = x509.SubjectAlternativeName(san_entries)
101102
builder = (

0 commit comments

Comments
 (0)