mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 06:50:29 +03:00
Revert "If given --verbose, don't print the whole error log again"
This reverts commit 29ab3cf64d.
This commit is contained in:
parent
acbbc6a973
commit
d5b06ec008
1 changed files with 1 additions and 3 deletions
|
|
@ -1043,9 +1043,7 @@ def main():
|
||||||
logfile = open(os.path.join(log_dir, app['id'] + '.log'), 'a+')
|
logfile = open(os.path.join(log_dir, app['id'] + '.log'), 'a+')
|
||||||
logfile.write(str(be))
|
logfile.write(str(be))
|
||||||
logfile.close()
|
logfile.close()
|
||||||
reason = str(be).split('\n', 1)[0] if options.verbose else str(be)
|
print("Could not build app %s due to BuildException: %s" % (app['id'], be))
|
||||||
logging.error("Could not build app %s due to BuildException: %s" % (
|
|
||||||
app['id'], reason))
|
|
||||||
if options.stop:
|
if options.stop:
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
failed_apps[app['id']] = be
|
failed_apps[app['id']] = be
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue