1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-09-17 10:40:12 +02:00

Don't abort on a build log publishing error

This commit is contained in:
Ciaran Gultnieks 2013-05-01 12:05:20 +01:00
parent 48670b9e6c
commit 0cb41cce55

View File

@ -644,7 +644,10 @@ def main():
txt = str(be)
if len(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:
if options.stop:
sys.exit(1)