From ee8e2fef8c51cd6e6193943096b1956f1975b497 Mon Sep 17 00:00:00 2001 From: Akhil Narang Date: Fri, 29 Mar 2024 11:39:40 +0530 Subject: [PATCH] refactor(new-site): update rollback prompt Signed-off-by: Akhil Narang --- frappe/commands/site.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frappe/commands/site.py b/frappe/commands/site.py index 4ee9fe5a50..dcea241051 100644 --- a/frappe/commands/site.py +++ b/frappe/commands/site.py @@ -102,7 +102,9 @@ def new_site( except Exception: traceback.print_exc() - if sys.__stdin__.isatty() and click.confirm("Do you want to rollback the failed site?", abort=True): + if sys.__stdin__.isatty() and click.confirm( + "Site creation failed, do you want to rollback the site?", abort=True + ): rollback_callback.run() sys.exit(1)