diff --git a/errors/error.go b/errors/error.go index b4baf2fd88e6da367aaf783f53ffd42da1c85b66..9253cda0083d017bfe7872010dcfc5aec9f893f7 100644 --- a/errors/error.go +++ b/errors/error.go @@ -2,7 +2,6 @@ package errors import ( "fmt" - "net/http" "path" "strconv" "strings" @@ -120,9 +119,6 @@ func (err CustomError) Formatted(opts FormattingOptions) string { ) } thisError += err.message - if err.code != 0 { - thisError += fmt.Sprintf(" HTTP(%d:%s)", err.code, http.StatusText(err.code)) - } if !opts.Causes { return thisError }