Fix minor bug in how errors are displayed in codegen.
This commit is contained in:
parent
3a3eb33b84
commit
271feae8ac
@ -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)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user