mirror of
https://github.com/certbot/certbot.git
synced 2026-05-28 04:34:11 -04:00
add domain name when having issues in the warn output (#5105)
This commit is contained in:
parent
d3a00a97a3
commit
03624fa9db
1 changed files with 3 additions and 2 deletions
|
|
@ -86,10 +86,11 @@ def _vhost_menu(domain, vhosts):
|
|||
choices, force_interactive=True)
|
||||
except errors.MissingCommandlineFlag:
|
||||
msg = (
|
||||
"Encountered vhost ambiguity but unable to ask for user "
|
||||
"Encountered vhost ambiguity when trying to find a vhost for "
|
||||
"{0} but was unable to ask for user "
|
||||
"guidance in non-interactive mode. Certbot may need "
|
||||
"vhosts to be explicitly labelled with ServerName or "
|
||||
"ServerAlias directives.")
|
||||
"ServerAlias directives.".format(domain))
|
||||
logger.warning(msg)
|
||||
raise errors.MissingCommandlineFlag(msg)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue