Skip to content

Commit 5a48046

Browse files
author
Wilfried OLLIVIER
committed
Fix: missing return
1 parent 13efe7b commit 5a48046

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

application/task.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,7 @@ func (a *Application) TaskLogsHandler(latest bool) func(http.ResponseWriter, *ht
224224
l.Error("Task log stdcopy write error", zap.Error(err))
225225
w.WriteHeader(http.StatusInternalServerError)
226226
w.Write([]byte(http.StatusText(http.StatusInternalServerError)))
227+
return
227228
}
228229

229230
w.Header().Set("Content-Type", "text/plain")

0 commit comments

Comments
 (0)