Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
fuziontech committed Mar 26, 2024
1 parent 6acbe2c commit 6e8d7c8
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions bin/hobby-ci.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,11 @@ def handle_sigint(self):
self.destroy_self()

def export_droplet(self):
if not self.droplet or not self.record:
print("Droplet or DNS record not found. Exiting")
if not self.droplet:
print("Droplet not found. Exiting")
exit(1)
if not self.record:
print("DNS record not found. Exiting")
exit(1)
record_id = self.record["domain_record"]["id"]
record_name = self.record["domain_record"]["name"]
Expand Down

0 comments on commit 6e8d7c8

Please sign in to comment.