mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-16 07:52:35 +03:00
Try to fix <pre> issues on large lastbuilds
This commit is contained in:
parent
6cdf509c9e
commit
5d6baedbc9
2 changed files with 3 additions and 5 deletions
|
@ -774,7 +774,8 @@ class BuildException(Exception):
|
|||
if self.detail:
|
||||
ret += "=detail=\n"
|
||||
ret += "<pre>\n"
|
||||
ret += str(self.detail)
|
||||
txt = self.detail[-8192:] if len(self.detail) > 8192 else self.detail
|
||||
ret += str(txt)
|
||||
ret += "</pre>\n"
|
||||
return ret
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue