Skip to content

Commit

Permalink
Merge 1261343 into 75731c3
Browse files Browse the repository at this point in the history
  • Loading branch information
coopernurse committed Sep 11, 2018
2 parents 75731c3 + 1261343 commit a388dba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lambda.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ func (h Handler) ServeHTTP(w http.ResponseWriter, r *http.Request) (int, error)

// Write the response body
_, err = w.Write(bodyBytes)
if err != nil {
if err != nil || reply.Meta.Status >= 400 {
return 0, err
}

Expand Down

0 comments on commit a388dba

Please sign in to comment.