Mercurial > repos > jpayne > snp_pipeline
diff snp-cache.py @ 4:66f988a9666f
planemo upload commit b'7f6183b769772449fbcee903686b8d5ec5b7439f\n'-dirty
author | jpayne |
---|---|
date | Wed, 24 Jan 2018 15:51:36 -0500 |
parents | eefdd97a6749 |
children | 6adaecff5f2b |
line wrap: on
line diff
--- a/snp-cache.py Wed Jan 24 15:09:32 2018 -0500 +++ b/snp-cache.py Wed Jan 24 15:51:36 2018 -0500 @@ -103,7 +103,7 @@ s3 = boto3.resource('s3').Bucket(CACHE_NAMESPACE) s3.download_fileobj(name, output_f) logging.getLogger('snp-cache.cache').info(f"cache hit on {name}, retrieved.") - except (DataNotFoundError, NoCredentialsError, BotoCoreError) as e: + except (DataNotFoundError, NoCredentialsError, BotoCoreError, ClientError) as e: if type(e) is DataNotFoundError: logging.getLogger('snp-cache.cache').info(f"cache miss on {name}") else: