Add missing arg to validate call and add logging
This commit is contained in:
parent
83849f4320
commit
974ab6c42c
3 changed files with 4 additions and 3 deletions
|
@ -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
|
||||
|
||||
|
||||
|
|
Reference in a new issue