Previous changeset 3:5830791e73af (2018-01-24) Next changeset 5:5191246bc2e2 (2018-01-25) |
Commit message:
planemo upload commit b'7f6183b769772449fbcee903686b8d5ec5b7439f\n'-dirty |
modified:
snp-cache.py |
snp-cache.py |
diff -r 5830791e73af -r 66f988a9666f snp-cache.py |
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: |