better error message when custom domain is already in use

This commit is contained in:
2023-03-31 21:12:40 +02:00
parent c9d6073ec3
commit 214b9f3078

View File

@@ -335,8 +335,8 @@ def main() -> None:
return return
try: try:
cli_set_custom_domain() cli_set_custom_domain()
except DomainInUse: except DomainInUse as e:
print("That domain is already in use") print(str(e))
return return
else: else:
try: try: