Skip to content

Commit

Permalink
Fix error output from CalledProcessError
Browse files Browse the repository at this point in the history
  • Loading branch information
ehelms authored and evgeni committed Sep 25, 2023
1 parent b2d9aa0 commit 850abad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion obal/data/modules/copr_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def main():
package_name = get_srpm_name(srpm)
nevr = get_srpm_nevr(srpm)
except CalledProcessError as error:
module.fail_json(msg="{} / {}".format(error.stdout, error.stderr), command=error.cmd, output=error.output)
module.fail_json(msg=error.output, command=error.cmd, output=error.output)

package_info = get_package_info(module, user, project, package_name, config_file)

Expand Down

0 comments on commit 850abad

Please sign in to comment.