Skip to content

Commit

Permalink
Merge pull request #17 from mediapart/fix/error-message
Browse files Browse the repository at this point in the history
  • Loading branch information
ggrossetie authored Oct 3, 2023
2 parents 0b4e33d + ba572f9 commit 0d2535a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion goss.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def run_module():
write_result(output_file_path, out)

if rc is not None and rc != 0:
error_msg = 'err : { err } ; out : { out }'
error_msg = f'err : { err } ; out : { out }'
module.fail_json(msg=error_msg)

module.exit_json(stdout=out, changed=False)
Expand Down

0 comments on commit 0d2535a

Please # to comment.