mirror of
https://github.com/ansible/awx.git
synced 2024-11-01 08:21:15 +03:00
Use logger.exception instead of logger.warning.
This commit is contained in:
parent
31bdde00c9
commit
60ca843b71
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user