Skip to content

Commit

Permalink
log createrepo_c errors
Browse files Browse the repository at this point in the history
  • Loading branch information
midnightercz committed May 13, 2015
1 parent b22937c commit af19206
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugins/pulp_rpm/plugins/distributors/yum/publish.py
Original file line number Diff line number Diff line change
Expand Up @@ -887,4 +887,5 @@ def process_main(self):
stdout, stderr = pipe.communicate()
if pipe.returncode != 0:
result_string = '%s\n::\n%s' % (stdout, stderr)
logger.error(result_string)
raise PulpCodedException(message=result_string)

0 comments on commit af19206

Please sign in to comment.