try to add a try catch to validate the complete run
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 15s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 15s
This commit is contained in:
+4
-1
@@ -41,4 +41,7 @@ def MyIP():
|
|||||||
response = requests.get('https://ifconfig.me/ip')
|
response = requests.get('https://ifconfig.me/ip')
|
||||||
return response.text
|
return response.text
|
||||||
|
|
||||||
result_update = update_zone(new_subdomain,MyIP(),str(Domain_id()[0]))
|
try:
|
||||||
|
result_update = update_zone(new_subdomain,MyIP(),str(Domain_id()[0]))
|
||||||
|
except:
|
||||||
|
raise
|
||||||
Reference in New Issue
Block a user