mirror of
https://github.com/certbot/certbot.git
synced 2026-08-03 00:22:04 +02:00
Switch from Error to PluginError
This commit is contained in:
@@ -162,7 +162,7 @@ binary for temporary key/certificate generation.""".replace("\n", "")
|
|||||||
else:
|
else:
|
||||||
if not zope.component.getUtility(interfaces.IDisplay).yesno(
|
if not zope.component.getUtility(interfaces.IDisplay).yesno(
|
||||||
self.IP_DISCLAIMER, "Yes", "No"):
|
self.IP_DISCLAIMER, "Yes", "No"):
|
||||||
raise errors.Error("Must agree to IP logging to proceed")
|
raise errors.PluginError("Must agree to IP logging to proceed")
|
||||||
|
|
||||||
self._notify_and_wait(self.MESSAGE_TEMPLATE.format(
|
self._notify_and_wait(self.MESSAGE_TEMPLATE.format(
|
||||||
validation=validation.json_dumps(), response=response,
|
validation=validation.json_dumps(), response=response,
|
||||||
|
|||||||
Reference in New Issue
Block a user