Mercurial > repos > jpayne > snp_pipeline
changeset 4:66f988a9666f
planemo upload commit b'7f6183b769772449fbcee903686b8d5ec5b7439f\n'-dirty
author | jpayne |
---|---|
date | Wed, 24 Jan 2018 15:51:36 -0500 |
parents | 5830791e73af |
children | 5191246bc2e2 |
files | snp-cache.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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: