author | Alberto Bertogli
<albertito@blitiri.com.ar> 2019-01-28 18:29:20 UTC |
committer | Alberto Bertogli
<albertito@blitiri.com.ar> 2019-01-28 18:29:20 UTC |
parent | a9778ce5426145157ed773f42b35630a26cf5169 |
remoteu2f-proxy/main.go | +1 | -1 |
remoteu2f-proxy/tools/embed.go | +1 | -1 |
diff --git a/remoteu2f-proxy/main.go b/remoteu2f-proxy/main.go index dae8b25..f87bf88 100644 --- a/remoteu2f-proxy/main.go +++ b/remoteu2f-proxy/main.go @@ -45,7 +45,7 @@ var ( func validateBaseURL(s string) error { u, err := url.Parse(*baseURL) if err != nil { - return fmt.Errorf("malformed url:", err) + return fmt.Errorf("malformed url: %v", err) } if u.Scheme != "https" { return fmt.Errorf("scheme MUST be 'https'") diff --git a/remoteu2f-proxy/tools/embed.go b/remoteu2f-proxy/tools/embed.go index 828e254..288b145 100644 --- a/remoteu2f-proxy/tools/embed.go +++ b/remoteu2f-proxy/tools/embed.go @@ -86,7 +86,7 @@ func Embed(pkg string, paths []string, outPath string) error { out, err := os.Create(outPath) if err != nil { - return fmt.Errorf("Error opening %q: %v", *out, err) + return fmt.Errorf("Error opening %q: %v", outPath, err) } err = tmpl.Execute(out, vals)