chiark / gitweb /
Revert "If given --verbose, don't print the whole error log again"
authorDaniel Martí <mvdan@mvdan.cc>
Wed, 9 Jul 2014 09:14:01 +0000 (11:14 +0200)
committerDaniel Martí <mvdan@mvdan.cc>
Wed, 9 Jul 2014 09:14:01 +0000 (11:14 +0200)
This reverts commit 29ab3cf64df2eebdaae44b643a26c118b58c0c7e.

fdroidserver/build.py

index fb8977b2061cdad4e188b7442f82a2106c7b29c6..0136f379a00b81c78750e65aef6b9ebfd584238d 100644 (file)
@@ -1043,9 +1043,7 @@ def main():
                 logfile = open(os.path.join(log_dir, app['id'] + '.log'), 'a+')
                 logfile.write(str(be))
                 logfile.close()
-                reason = str(be).split('\n', 1)[0] if options.verbose else str(be)
-                logging.error("Could not build app %s due to BuildException: %s" % (
-                    app['id'], reason))
+                print("Could not build app %s due to BuildException: %s" % (app['id'], be))
                 if options.stop:
                     sys.exit(1)
                 failed_apps[app['id']] = be