mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-15 23:42:37 +03:00
Don't abort on a build log publishing error
This commit is contained in:
parent
48670b9e6c
commit
0cb41cce55
1 changed files with 4 additions and 1 deletions
|
@ -644,7 +644,10 @@ def main():
|
||||||
txt = str(be)
|
txt = str(be)
|
||||||
if len(txt) > 8192:
|
if len(txt) > 8192:
|
||||||
txt = txt[-8192:]
|
txt = txt[-8192:]
|
||||||
newpage.save(str(be), summary='Build log')
|
try:
|
||||||
|
newpage.save(str(be), summary='Build log')
|
||||||
|
except:
|
||||||
|
print "Error while attempting to publish build log"
|
||||||
except VCSException as vcse:
|
except VCSException as vcse:
|
||||||
if options.stop:
|
if options.stop:
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue