Skip to content

Commit

Permalink
fix: incorrect error message when certbot fails to install
Browse files Browse the repository at this point in the history
  • Loading branch information
matthew-hagemann committed Nov 27, 2024
1 parent 3b0110e commit f0ffa77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/container_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def _obtain_tls(email: str, domain: str):
if not certbot.present:
certbot.ensure(snap.SnapState.Latest)
except snap.SnapError as e:
logger.error("An exception occurred when installing charmcraft. Reason: %s", e.message)
logger.error("An exception occurred while installing certbot. Reason: %s", e.message)
# Run Certbot in standalone mode. This will spin up a temp web server on port 80 to gain a cert.
try:
subprocess.check_output(
Expand Down

0 comments on commit f0ffa77

Please sign in to comment.