Skip to content

Commit

Permalink
Merge branch 'fix_urlgraberror_handling' of https://github.com/OlegGi…
Browse files Browse the repository at this point in the history
  • Loading branch information
marcus-h committed Jan 18, 2017
2 parents 7920299 + 361fec7 commit 41187aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion osc/babysitter.py
Expand Up @@ -143,7 +143,7 @@ def run(prg, argv=None):
print('Failed to reach a server:\n', e.reason, file=sys.stderr)
return 1
except URLGrabError as e:
print('Failed to grab %s: %s' % (e.url, e.exception), file=sys.stderr)
print('Failed to grab %s: %s' % (e.url, e.strerror), file=sys.stderr)
return 1
except IOError as e:
# ignore broken pipe
Expand Down

0 comments on commit 41187aa

Please sign in to comment.