mirror of
https://github.com/certbot/certbot.git
synced 2026-06-04 22:33:00 -04:00
Improve wording of try again message
This commit is contained in:
parent
f104d1f9bf
commit
9e56d6bf79
2 changed files with 2 additions and 2 deletions
|
|
@ -538,7 +538,7 @@ class Client:
|
|||
|
||||
msg = f"Failed to install the certificate (installer: {self.config.installer})."
|
||||
if cert_name:
|
||||
msg += (" Try again by running:\n\n"
|
||||
msg += (" Try again after fixing errors by running:\n\n"
|
||||
f" {cli.cli_constants.cli_command} install --cert-name {cert_name}\n")
|
||||
|
||||
with error_handler.ErrorHandler(self._recovery_routine_with_msg, msg):
|
||||
|
|
|
|||
|
|
@ -552,7 +552,7 @@ class ClientTest(ClientTestCommon):
|
|||
mock_notify.assert_any_call('Deploying certificate')
|
||||
mock_notify.assert_any_call(
|
||||
'Failed to install the certificate (installer: foobar). '
|
||||
'Try again by running:\n\n certbot install --cert-name foo.bar\n'
|
||||
'Try again after fixing errors by running:\n\n certbot install --cert-name foo.bar\n'
|
||||
)
|
||||
|
||||
@mock.patch('certbot._internal.client.display_util.notify')
|
||||
|
|
|
|||
Loading…
Reference in a new issue