From b760b4089742f8e0cdaefffd62b6e4f53e1fe207 Mon Sep 17 00:00:00 2001 From: Ivan Moreno Date: Wed, 7 Aug 2024 17:13:26 -0600 Subject: [PATCH] Add more info to type error message --- plugins/modules/zos_apf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/modules/zos_apf.py b/plugins/modules/zos_apf.py index dd97fe605..9df0e607a 100644 --- a/plugins/modules/zos_apf.py +++ b/plugins/modules/zos_apf.py @@ -349,7 +349,7 @@ def backupOper(module, src, backup, tmphlq=None): file_type = 'USS' if file_type != 'USS' and file_type not in DS_TYPE: - message = "{0} data set type is NOT supported".format(str(file_type)) + message = "{0} data set type of {1} is NOT supported".format(str(file_type), src) module.fail_json(msg=message) # backup can be True(bool) or none-zero length string. string indicates that backup_name was provided.