From 0cb41cce5543a850017efa08ebb28f09f2a22ca3 Mon Sep 17 00:00:00 2001 From: Ciaran Gultnieks Date: Wed, 1 May 2013 12:05:20 +0100 Subject: [PATCH] Don't abort on a build log publishing error --- fdroidserver/build.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/fdroidserver/build.py b/fdroidserver/build.py index 79676817..08de1f04 100644 --- a/fdroidserver/build.py +++ b/fdroidserver/build.py @@ -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)