From 0dc93d1ec6ddae83afce273bd6c70b84ec1da618 Mon Sep 17 00:00:00 2001 From: Alberto Bertogli Date: Sat, 24 Sep 2016 01:07:05 +0100 Subject: [PATCH] chasquid: Remove overly verbose error about TLS config --- chasquid.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chasquid.go b/chasquid.go index e7397b8..ff33a0a 100644 --- a/chasquid.go +++ b/chasquid.go @@ -293,7 +293,7 @@ func (s *Server) getTLSConfig() (*tls.Config, error) { for i := 0; i < len(s.certs); i++ { conf.Certificates[i], err = tls.LoadX509KeyPair(s.certs[i], s.keys[i]) if err != nil { - return nil, fmt.Errorf("Error loading client certificate: %v", err) + return nil, err } }