refactor(new-site): update rollback prompt
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
This commit is contained in:
parent
197b1ab77c
commit
ee8e2fef8c
1 changed files with 3 additions and 1 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue