diff --git a/response.go b/response.go index 7b10c7b..0ba4ed9 100644 --- a/response.go +++ b/response.go @@ -3,7 +3,6 @@ package ipp import ( "bytes" "encoding/binary" - "errors" "io" ) @@ -309,10 +308,6 @@ func (d *ResponseDecoder) Decode(data io.Writer) (*Response, error) { } } - if resp.StatusCode != 0 { - return resp, errors.New(resp.OperationAttributes["status-message"][0].Value.(string)) - } - return resp, nil }