mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-01 11:44:24 -07:00
Fix error message when reading config file failed
Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
bc32bd4ce1
commit
236edae071
1 changed files with 1 additions and 1 deletions
|
@ -438,7 +438,7 @@ class DconfPreference(object):
|
|||
with open(path, 'r') as fd:
|
||||
raw_config = fd.read()
|
||||
except IOError as ex:
|
||||
self.module.fail_json(msg='dconf failed while reading configuration file with error: %s' % ex)
|
||||
self.module.fail_json(msg='Failed while reading configuration file %s with error: %s' % (path, ex))
|
||||
|
||||
# Parse configuratoin file
|
||||
config = ConfigParser()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue