Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kbs_protocol: handle ProtocolVersion error
The RCAR client code currently ignores any errors for "request". Such errors can still happen, e.g., when 'version' field is rejected by KBS. Without catching errors we try to decode the Challenge json body but it actually contains the error information in it which results in decode errors instead. KBS added a new ProtocolVersion error which is now catched by the RCAR client code. The error is reported to the user if the client and server use incompatible versions. Signed-off-by: Mikko Ylinen <[email protected]>
- Loading branch information