aboutsummaryrefslogtreecommitdiff
path: root/httpd.go
diff options
context:
space:
mode:
Diffstat (limited to 'httpd.go')
-rw-r--r--httpd.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/httpd.go b/httpd.go
index f42a2b3..a313893 100644
--- a/httpd.go
+++ b/httpd.go
@@ -1348,7 +1348,7 @@ func (srv *Server) apiZonedRRAdd(epr *libhttp.EndpointRequest) (resb []byte, err
req.Type = strings.ToUpper(req.Type)
req.rtype, ok = dns.RecordTypes[req.Type]
if !ok {
- res.Message = fmt.Sprintf("invalid or empty RR type %q: %s", req.Type, err.Error())
+ res.Message = fmt.Sprintf(`invalid or empty RR type %q`, req.Type)
return nil, &res
}