Add missing arg to validate call and add logging

This commit is contained in:
Joseph Schorr 2016-08-03 11:13:27 -04:00
parent 83849f4320
commit 974ab6c42c
3 changed files with 4 additions and 3 deletions

View file

@ -37,7 +37,8 @@ def _check_storage(app):
try:
storage.validate(storage.preferred_locations, app.config['HTTPCLIENT'])
return True
except:
except Exception as ex:
logger.exception('Storage check failed with exception %s', ex)
return False