diff --git a/fdroidserver/build.py b/fdroidserver/build.py index 24cb2f5c..96446bb7 100644 --- a/fdroidserver/build.py +++ b/fdroidserver/build.py @@ -907,7 +907,7 @@ def main(): logfile = open(os.path.join(log_dir, app['id'] + '.log'), 'a+') logfile.write(str(be)) logfile.close() - print "Could not build app %s due to BuildException: %s" % (app['id'], be) + print "Could not build app %s due to BuildException: %s" % (app['id'], be.value) if options.stop: sys.exit(1) failed_apps[app['id']] = be