GitBucket
Toggle navigation
Pull requests
Issues
Snippets
Sign in
Files
Branches
1
Releases
Issues
Pull requests
Labels
Priorities
Milestones
Commit Graphs
Network
Fork
: 0
server
/
certbot-dns-inwx
Browse code
update exception handling
master
1 parent
067ee08
commit
41443596978a447cf3cb8268bc93c3fe521b2dee
Pascal Gollor
authored
on 16 Mar 2022
Patch
Unified
Split
Showing
1 changed file
+2
-0
■
■
■■■
getIPaddress.py
Ignore Space
Show notes
View
2
■
■
■■■
getIPaddress.py
try
:
getPublicIP
(
ipv4
=
ipv
==
4
,
verbose
=
args
.
verbose
)
except
RuntimeError
as
e
:
print
(
'[ERROR]:'
,
e
)
except
requests
.
exceptions
.
ConnectionError
as
e
:
print
(
'[ERROR]:'
,
e
)
# end try
# end if
Show line notes below