mirror of
https://github.com/reactos/syzkaller.git
synced 2024-12-03 00:46:35 +00:00
dashboard/app: fix error trimming
This commit is contained in:
parent
2d24bbb225
commit
84dd36bae9
@ -173,7 +173,7 @@ func emailReport(c context.Context, rep *dashapi.BugReport, templ string) error
|
||||
Name: "error.txt",
|
||||
Data: errorText,
|
||||
})
|
||||
errorText = errorText[:len(errorText)-maxInlineError]
|
||||
errorText = errorText[len(errorText)-maxInlineError:]
|
||||
}
|
||||
from, err := email.AddAddrContext(fromAddr(c), rep.ID)
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user