1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-01 16:51:11 +03:00

Use logger.exception instead of logger.warning.

This commit is contained in:
Bill Nottingham 2019-10-15 14:20:09 -04:00
parent 31bdde00c9
commit 60ca843b71

View File

@ -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