mirror of
https://github.com/openSUSE/osc.git
synced 2025-02-25 19:52:12 +01:00
osc build: handle exception when getting buildinfo fails, for cases != 404
This commit is contained in:
parent
7675c55242
commit
dd9d1cb49f
@ -301,6 +301,8 @@ def main(opts, argv):
|
||||
print >>sys.stderr, 'The project \'%s\' does not exists - please ' \
|
||||
'rerun with \'--alternative-project <alternative_project>\'' % prj
|
||||
sys.exit(1)
|
||||
else:
|
||||
raise
|
||||
bi_file.write(bi_text)
|
||||
bi_file.flush()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user