forked from Krautspace/doorstatus
statusd.py: add error message in read_api()
This commit is contained in:
parent
28e8c93a28
commit
976c9e7ebb
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue