From 214b9f30787c0186be10d0aed9396817f58d926a Mon Sep 17 00:00:00 2001 From: Zev Averbach Date: Fri, 31 Mar 2023 21:12:40 +0200 Subject: [PATCH] better error message when custom domain is already in use --- publify/publify.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/publify/publify.py b/publify/publify.py index 0b63eec..123e163 100644 --- a/publify/publify.py +++ b/publify/publify.py @@ -335,8 +335,8 @@ def main() -> None: return try: cli_set_custom_domain() - except DomainInUse: - print("That domain is already in use") + except DomainInUse as e: + print(str(e)) return else: try: