Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix repo_upload failure handling #135

Merged
merged 1 commit into from
Jul 23, 2016

Conversation

msabramo
Copy link
Contributor

  • a 404 response previously would output a message to stdout but then
    continue to try to parse JSON, which would fail.
  • the FailedFiles and Warnings code never got executed because it
    was in rescue blocks that don't get triggered.

name: 'repodoesnotexist',
dir: 'testdir/',
file: 'test_1.0_amd64.deb').to_s,
'local repo with name repodoesnotexist not found'

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Align the parameters of a method call if they span more than one line.

@coveralls
Copy link

coveralls commented Jul 23, 2016

Coverage Status

Coverage increased (+0.8%) to 98.878% when pulling 8a7b026 on msabramo:fix_repo_upload_failures into 197f518 on sepulworld:master.

- a 404 response previously would output a message to stdout but then
  continue to try to parse JSON, which would fail.

- the `FailedFiles` and `Warnings` code never got executed because it
  was in `rescue` blocks that don't get triggered.
@coveralls
Copy link

coveralls commented Jul 23, 2016

Coverage Status

Coverage increased (+0.8%) to 98.878% when pulling e957508 on msabramo:fix_repo_upload_failures into 197f518 on sepulworld:master.

@sepulworld sepulworld merged commit d3da7f2 into sepulworld:master Jul 23, 2016
@msabramo msabramo deleted the fix_repo_upload_failures branch July 23, 2016 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants