summaryrefslogtreecommitdiff
path: root/service/http/handler.go
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-09-29 23:25:04 +0300
committerWolfy-J <[email protected]>2018-09-29 23:25:04 +0300
commit06936766844c9d0d4f1f9f92efb622ba765c8c64 (patch)
tree456f679f57be64ee3963e823182f894668f28911 /service/http/handler.go
parent1cfb3a4d142db6afec2befe82bdfdf625cc0f2d4 (diff)
removed empty error check
Diffstat (limited to 'service/http/handler.go')
-rw-r--r--service/http/handler.go5
1 files changed, 1 insertions, 4 deletions
diff --git a/service/http/handler.go b/service/http/handler.go
index 945cd51e..f719c751 100644
--- a/service/http/handler.go
+++ b/service/http/handler.go
@@ -72,10 +72,7 @@ func (h *Handler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
return
}
- if err = req.Open(); err != nil {
- h.handleError(w, r, err)
- return
- }
+ req.Open()
defer req.Close()
p, err := req.Payload()