From 25e23577903a535feecfd46de278d93ad8de5c79 Mon Sep 17 00:00:00 2001 From: Neeraj Kashyap Date: Tue, 3 Aug 2021 09:31:48 -0700 Subject: [PATCH] Clarifying comment --- backend/moonstream/cli.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backend/moonstream/cli.py b/backend/moonstream/cli.py index 4863e614..e4b85cee 100644 --- a/backend/moonstream/cli.py +++ b/backend/moonstream/cli.py @@ -48,6 +48,8 @@ def add_subscription_handler(args: argparse.Namespace) -> None: raise BroodResourcesInteractionException( f"status_code={e.status_code}, detail={e.detail}" ) + # If Brood returns 404, then we want to continue execution of the outer try block + # with new_subscription_id as 0. That's why we don't have an "else" condition here. except Exception as e: print("Unexpected Exception on request to brood") raise