Better error message for api client constructor
This commit is contained in:
parent
9abd7fa431
commit
8aa11f7e8c
1 changed files with 3 additions and 2 deletions
|
@ -136,7 +136,8 @@ class AirtimeApiClient(object):
|
|||
self.config = ConfigObj(config_path)
|
||||
self.services = RequestProvider(self.config)
|
||||
except Exception, e:
|
||||
self.logger.error('Error loading config file: %s', e)
|
||||
self.logger.error('Error loading config file: %s', config_path)
|
||||
self.logger.error('Exception: %s', str(e))
|
||||
sys.exit(1)
|
||||
|
||||
def __get_airtime_version(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue