mirror of
https://github.com/openSUSE/osc.git
synced 2025-02-03 10:06:17 +01:00
Handle ProtocolError exception
This commit is contained in:
parent
04fb100ca9
commit
623148a04a
@ -193,6 +193,8 @@ def run(prg, argv=None):
|
||||
print(e, file=sys.stderr)
|
||||
except urllib3.exceptions.MaxRetryError as e:
|
||||
print(e.reason, file=sys.stderr)
|
||||
except urllib3.exceptions.ProtocolError as e:
|
||||
print(e.args[0], file=sys.stderr)
|
||||
except CpioError as e:
|
||||
print(e, file=sys.stderr)
|
||||
except oscerr.OscBaseError as e:
|
||||
|
Loading…
Reference in New Issue
Block a user