Skip to content

Commit

Permalink
Remove newline between fields in log
Browse files Browse the repository at this point in the history
Signed-off-by: Vinod Damle <[email protected]>
  • Loading branch information
Vinod Damle committed Mar 1, 2022
1 parent e5428b4 commit a7615c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/contractgateway/rest2eth.go
Original file line number Diff line number Diff line change
Expand Up @@ -727,7 +727,7 @@ func (r *rest2eth) lookupTransaction(res http.ResponseWriter, req *http.Request,
func (r *rest2eth) restAsyncReply(res http.ResponseWriter, req *http.Request, asyncResponse messages.WebhookReply) {
resBytes, _ := json.Marshal(asyncResponse)
status := 202 // accepted
log.Infof("<-- %s %s [%d]:\n%s", req.Method, req.URL, status, string(resBytes))
log.Infof("<-- %s %s [%d]: %s", req.Method, req.URL, status, string(resBytes))
log.Debugf("<-- %s", resBytes)
res.Header().Set("Content-Type", "application/json")
res.WriteHeader(status)
Expand Down

0 comments on commit a7615c5

Please sign in to comment.