Skip to content

Commit 63e6c2c

Browse files
committed
feat: logging the region!
1 parent 8e98dfe commit 63e6c2c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

hivemind_etl/storage/s3_client.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ def __init__(self):
5757
resp = self.s3_client.get_bucket_location(Bucket=self.bucket_name)
5858
self.bucket_region = resp["LocationConstraint"] or "us-east-1"
5959

60+
logging.info(f"Bucket region: {self.bucket_region}!")
61+
6062
self.s3_client = boto3.client(
6163
"s3",
6264
region_name=self.bucket_region,

0 commit comments

Comments
 (0)