chiark / gitweb /
Don't abort on a build log publishing error
authorCiaran Gultnieks <ciaran@ciarang.com>
Wed, 1 May 2013 11:05:20 +0000 (12:05 +0100)
committerCiaran Gultnieks <ciaran@ciarang.com>
Wed, 1 May 2013 11:05:20 +0000 (12:05 +0100)
fdroidserver/build.py

index 79676817ff0657dc0a49616cae9681747169dcab..08de1f049c1af8c9c1224a50947704fa25e5defd 100644 (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)