Skip to content

Commit

Permalink
use fallback value when package is not found
Browse files Browse the repository at this point in the history
  • Loading branch information
Buxdehuda authored Jan 15, 2024
1 parent df92035 commit d683850
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions certbotstratoapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,8 @@ def get_package_id(self) -> None:

if result is None:
print(f'ERROR: Domain {self.second_level_domain_name} not '
'found in strato packages')
sys.exit(1)
'found in strato packages. Using fallback cID=1')
self.package_id = 1
return
self.package_id = result.group('cID')
print(f'INFO: strato package id (cID): {self.package_id}')
Expand Down

0 comments on commit d683850

Please sign in to comment.