Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
tail-ses: Fix NameError on aborted operations.
Anders Kaseorgbf529603d3b4
diff --git a/tools/tail-ses b/tools/tail-sesindex 601c8bb2df0..1c6d7e2adb5 100755--- a/tools/tail-ses+++ b/tools/tail-ses@@ -94,6 +94,7 @@ def our_sqs_queue(session: boto3.session.Session, ses_topic_arn: str) -> Iteratosqs: SQSClient = session.client("sqs")queue_name = "tail-ses-" + secrets.token_hex(10)+ queue_url = Nonetry:resp = sqs.create_queue(QueueName=queue_name,@@ -129,6 +130,7 @@ def our_sns_subscription(session: boto3.session.Session, ses_topic_arn: str, queue_arn: str) -> Iterator[str]:sns: SNSClient = session.client("sns")+ subscription_arn = Nonetry:resp = sns.subscribe(TopicArn=ses_topic_arn,