mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2026-04-15 01:41:56 +00:00
Fix log view (#1874)
closes #1857 closes #1520 closes #1879 - fixes unicode log lines as reported in matrix --------- Co-authored-by: 6543 <6543@obermui.de>
This commit is contained in:
@@ -186,8 +186,8 @@ func LogStreamSSE(c *gin.Context) {
|
||||
}
|
||||
|
||||
if step.State != model.StatusRunning {
|
||||
log.Debug().Msg("stream not found.")
|
||||
logWriteStringErr(io.WriteString(rw, "event: error\ndata: stream not found\n\n"))
|
||||
log.Debug().Msg("step not running (anymore).")
|
||||
logWriteStringErr(io.WriteString(rw, "event: error\ndata: step not running (anymore)\n\n"))
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user