statusd.py: add error message in read_api()

This commit is contained in:
berhsi 2019-07-27 17:31:03 +02:00
parent 28e8c93a28
commit 976c9e7ebb

View file

@ -157,6 +157,7 @@ def read_api(api):
logging.error('Failed to read API file(): {}'.format(e))
return False
return (api_data)
logging.error('Failed to read API file')
return False