diff options
Diffstat (limited to 'src/extract_lambda.py')
| -rw-r--r-- | src/extract_lambda.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/extract_lambda.py b/src/extract_lambda.py index 0e6dd8c..874098b 100644 --- a/src/extract_lambda.py +++ b/src/extract_lambda.py @@ -107,6 +107,9 @@ def extract_bucket(client=None): bucket["Name"] for bucket in response["Buckets"] if "extract" in bucket["Name"] ] + if not extract_bucket_filter: + raise ValueError("No extract_bucket found") + return extract_bucket_filter[0] |
