commit 24faf45f89cd0f1c73389639f2d8c2d397c975e7
parent 0a5e257f2aa6a502c317becf07ef8cb7301bd97b
Author: Martin Schanzenbach <schanzen@gnunet.org>
Date: Wed, 1 May 2024 12:41:30 +0200
Fix HAN a11y issue 3: Note: Internal error messages are all misonfigurations by service admin and no user message can be provided
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pkg/rest/gnsregistrar.go b/pkg/rest/gnsregistrar.go
@@ -253,7 +253,7 @@ func (t *Registrar) isNameValid(label string) (err error) {
path, err := exec.LookPath(t.ValidLabelScript)
if err != nil {
fmt.Println(err)
- return errors.New(fmt.Sprintf("Internal error", label))
+ return errors.New(fmt.Sprintf("Internal error"))
}
out, err := exec.Command(path, label).Output()
if err != nil {