mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-22 11:55:40 +01:00
Exchanged error message if Decoder fails to point towards server logs
This commit is contained in:
parent
d5b9aa9ce0
commit
82feb18eef
1 changed files with 1 additions and 0 deletions
|
|
@ -309,6 +309,7 @@ func (p *processor) process(filename string) error {
|
|||
}
|
||||
|
||||
if err := json.NewDecoder(resp.Body).Decode(&result); err != nil {
|
||||
err := errors.New("Error: view server logs for details")
|
||||
return err
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue