From 976c9e7ebba222aa84c635f0e571b0d0d65abb3d Mon Sep 17 00:00:00 2001 From: berhsi Date: Sat, 27 Jul 2019 17:31:03 +0200 Subject: [PATCH] statusd.py: add error message in read_api() --- statusd.py | 1 + 1 file changed, 1 insertion(+) diff --git a/statusd.py b/statusd.py index ee55ee8..5d8dc11 100755 --- a/statusd.py +++ b/statusd.py @@ -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