mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-04 22:40: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.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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue