diff --git a/freedombox/modules/wireguard/utils.py b/freedombox/modules/wireguard/utils.py index c61d4bfa0..c77ef1c11 100644 --- a/freedombox/modules/wireguard/utils.py +++ b/freedombox/modules/wireguard/utils.py @@ -373,7 +373,8 @@ def add_client(public_key): time.sleep(1) else: - logging.warning('Could not add client %s', public_key) + logging.warning('Error adding client %s', public_key) + raise RuntimeError('Error adding client') def remove_client(public_key):