# HG changeset patch # User jpayne # Date 1516827096 18000 # Node ID 66f988a9666f930edf95c43ab1c6084be8ab9369 # Parent 5830791e73afcf94a470ebda690733d646a6a869 planemo upload commit b'7f6183b769772449fbcee903686b8d5ec5b7439f\n'-dirty diff -r 5830791e73af -r 66f988a9666f snp-cache.py --- 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: