From 6fe98315c2c7d49de5ee797dafc470bb1a82db1d Mon Sep 17 00:00:00 2001 From: Ace Nassri Date: Mon, 15 Jun 2020 19:39:27 -0700 Subject: [PATCH] Clarify infinite retries example Addresses b/158467672 --- functions/tips/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/tips/main.py b/functions/tips/main.py index 7fcade1fbb6..a088b1512d7 100644 --- a/functions/tips/main.py +++ b/functions/tips/main.py @@ -204,7 +204,7 @@ def avoid_infinite_retries(data, context): # Do what the function is supposed to do print('Processed {} (age {}ms)'.format(context.event_id, event_age_ms)) - return + return # To retry the execution, raise an exception here # [END functions_tips_infinite_retries]