mirror of
https://github.com/openSUSE/osc.git
synced 2025-08-06 23:53:39 +02:00
Merge pull request #1328 from andreas-schwab/master
Handle ProtocolError exception
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user