Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
threnjen committed Oct 16, 2024
1 parent 76cf136 commit 1b7ba94
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion aws_dagster_bgg/resources/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ def get_last_modified(self, bucket: str, key):
return self.get_s3_client().get_object_attributes(
Bucket=bucket, Key=key, ObjectAttributes=["ObjectParts"]
)["LastModified"]
except:
except Exception as e:
logger.info(f"Error: {e}")
return datetime(1970, 1, 1, 0, 0, 0, 0, pytz.UTC)

def list_file_keys(self, bucket: str, key):
Expand Down

0 comments on commit 1b7ba94

Please sign in to comment.