mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2026-03-16 01:19:02 +01:00
Fix panic on logger (#2745)
This commit is contained in:
@@ -86,6 +86,7 @@ func (l *log) Write(ctx context.Context, stepID int64, logEntry *model.LogEntry)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
s = l.streams[stepID]
|
||||
}
|
||||
|
||||
s.Lock()
|
||||
|
||||
Reference in New Issue
Block a user