mirror of
https://github.com/go-gitea/gitea.git
synced 2025-10-08 01:36:28 +00:00
Macaron 1.5 (#12596)
* update macaron to v1.5 of fork * update macaron to v1.5 of fork * test gzip PR * add push method impl to context_tests * use proper gzip commit Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
This commit is contained in:
2
vendor/gitea.com/macaron/macaron/recovery.go
generated
vendored
2
vendor/gitea.com/macaron/macaron/recovery.go
generated
vendored
@@ -153,7 +153,7 @@ func Recovery() Handler {
|
||||
|
||||
res.WriteHeader(http.StatusInternalServerError)
|
||||
if nil != body {
|
||||
res.Write(body)
|
||||
_, _ = res.Write(body)
|
||||
}
|
||||
}
|
||||
}()
|
||||
|
Reference in New Issue
Block a user