Fix minor bug in how errors are displayed in codegen.

This commit is contained in:
John Beisley 2020-05-10 09:48:28 +01:00
parent 3a3eb33b84
commit 271feae8ac

View File

@ -28,7 +28,7 @@ func acquireFile(specFilename string, xmlSpecURL string) error {
defer resp.Body.Close()
if resp.StatusCode != http.StatusOK {
return fmt.Errorf("could not download spec %q from %q: ",
return fmt.Errorf("could not download spec %q from %q: %s",
specFilename, xmlSpecURL, resp.Status)
}