mirror of
https://github.com/openSUSE/osc.git
synced 2025-09-06 21:28:42 +02:00
Merge branch 'fix_urlgraberror_handling' of https://github.com/OlegGirko/osc
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user