Skip to content

Commit

Permalink
fix(server/http): Use fmt.Fprint not Fprintf
Browse files Browse the repository at this point in the history
  • Loading branch information
jochumdev committed Jul 20, 2023
1 parent f07b958 commit b6095b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/http/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,5 @@ func WriteError(w http.ResponseWriter, err error) {

orbe := orberrors.From(err)
w.WriteHeader(orbe.Code)
fmt.Fprintf(w, orbe.Error())
fmt.Fprint(w, orbe.Error())
}

0 comments on commit b6095b9

Please sign in to comment.