mirror of
https://github.com/openSUSE/osc.git
synced 2025-02-04 18:46:17 +01:00
Merge branch 'fix_urlgraberror_handling' of https://github.com/OlegGirko/osc
This commit is contained in:
commit
41187aa705
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user