From c7aa08f97a4b9db91958e51e091f0940c7cecab0 Mon Sep 17 00:00:00 2001 From: Borjan Tchakaloff Date: Thu, 18 Feb 2021 17:18:30 +0100 Subject: [PATCH] syncthing_folder: Do not duplicate the `msg` key --- library/storage/syncthing/syncthing_folder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/storage/syncthing/syncthing_folder.py b/library/storage/syncthing/syncthing_folder.py index 337db99..919fdfa 100644 --- a/library/storage/syncthing/syncthing_folder.py +++ b/library/storage/syncthing/syncthing_folder.py @@ -180,7 +180,7 @@ def post_config(module, config, result): if not info or info['status'] != 200: result['response'] = str(info) - module.fail_json(msg='Error occured while posting new config', **result) + module.fail_json(**result) # Returns an object of a new folder def create_folder(params, current_device_ids, devices_mapping):