Skip to content

Commit

Permalink
chore(transport): log error in trasnport
Browse files Browse the repository at this point in the history
  • Loading branch information
mitch000001 committed Dec 9, 2018
1 parent ae3ddd7 commit f6bc0d3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions transport/middleware/logging.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ func Logging(logger *log.Logger) transport.Middleware {

res, err := t.Do(req)
if err != nil {
logger.Printf("Error executing request:\n%v", err)
return nil, err
}
var responseBuf bytes.Buffer
Expand Down

0 comments on commit f6bc0d3

Please sign in to comment.