Skip to content

Commit

Permalink
Increase verbosity
Browse files Browse the repository at this point in the history
  • Loading branch information
krysal committed May 9, 2024
1 parent 7c6fefe commit 8f89c2b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ingestion_server/ingestion_server/cleanup.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,10 +293,10 @@ class CleanDataUploader:
def __init__(self):
self.buffer_size = config("CLEANUP_BUFFER_SIZE", default=10_000_000, cast=int)
bucket_name = config("OPENVERSE_BUCKET", default="openverse-catalog")
self.date = time.strftime("%Y-%m-%d")
try:
self.s3 = self._get_s3_resource()
self.s3_bucket = self.s3.Bucket(bucket_name)
self.date = time.strftime("%Y-%m-%d")
except Exception as e:
log.error(f"Error connecting to S3 or creating bucket: {e}")
self.s3 = None
Expand Down
2 changes: 1 addition & 1 deletion ingestion_server/justfile
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ create-and-populate-filtered-index model="image" destination_suffix="init":
#########

# Run ingestion-server tests locally
test-local *args="--exitfirst":
test-local *args="--verbose --exitfirst":
# populate the tldextract cache before running tests to prevent unnecessary network requests during tests
# and from needing to mock essentially unmockable responses
pipenv run tldextract --update
Expand Down

0 comments on commit 8f89c2b

Please sign in to comment.