refactor(new-site): update rollback prompt

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
This commit is contained in:
Akhil Narang 2024-03-29 11:39:40 +05:30
parent 197b1ab77c
commit ee8e2fef8c
No known key found for this signature in database
GPG key ID: 9DCC61E211BF645F

View file

@ -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)