mirror of
https://github.com/ansible/awx.git
synced 2026-02-12 23:24:48 -03:30
Use logger.exception instead of logger.warning.
This commit is contained in:
@@ -116,5 +116,5 @@ def read_ansible_config(project_path, variables_of_interest):
|
||||
if var in parser['defaults']:
|
||||
values[var] = parser['defaults'][var]
|
||||
except Exception as e:
|
||||
logger.warn('Failed to read ansible configuration(s) {}: {}'.format(fnames, e))
|
||||
logger.exception('Failed to read ansible configuration(s) {}'.format(fnames))
|
||||
return values
|
||||
|
||||
Reference in New Issue
Block a user