From edba62e9714dbb2f201516c3f2f1595db963460d Mon Sep 17 00:00:00 2001 From: Yousefnezhad Date: Wed, 11 Jun 2025 10:50:15 +0330 Subject: [PATCH] Format Error --- plugins/modules/nfs_exports_info.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/modules/nfs_exports_info.py b/plugins/modules/nfs_exports_info.py index 331417b50b..5411aa73c3 100644 --- a/plugins/modules/nfs_exports_info.py +++ b/plugins/modules/nfs_exports_info.py @@ -112,7 +112,7 @@ def get_exports(module, output_format, file_path="/etc/exports"): } except Exception as e: - module.fail_json(msg="Error while processing exports: {}".format(str(e))) + module.fail_json(msg="Error while processing exports: {}".format(e)) def main():