Fix error message when parsing config failed

Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
Sheidan 2025-07-20 22:38:51 +02:00 committed by GitHub
commit 6e1013568b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -445,7 +445,7 @@ class DconfPreference(object):
try:
config.read_string(raw_config)
except Exception as e:
self.module.fail_json(msg='dconf failed while reading config with error: %s' % e)
self.module.fail_json(msg='Failed while parsing config with error: %s' % e)
# For each sub-directory, check if at least one change is needed
changed = any(