1
0
Fork 0
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:
Jan Höfelmeyer 2022-07-21 15:54:46 +02:00
parent d5b9aa9ce0
commit 82feb18eef

View file

@ -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
}