Improve error handling and return error code in case of failure
authorAbhay Agarwal <ay.agarwal@samsung.com>
Fri, 4 Oct 2019 01:39:47 +0000 (10:39 +0900)
committersaerome.kim <saerome.kim@samsung.com>
Fri, 4 Oct 2019 11:21:36 +0000 (20:21 +0900)
commit0db75be5b6577d681c572a21e89552b2ac3c43f4
tree426ded75b2396931f5debeaa80f23d1dcc52d9d7
parent39ac420a511f1ddd855491f044a4ce4e0eba22ea
Improve error handling and return error code in case of failure

This commit improves the error handling in ua-manager by returning error codes
in case of failures instead of just giving warnings.

Change-Id: I2eddd477c04e2fd2a5d33842d8659fceff6b65d7
Signed-off-by: Abhay Agarwal <ay.agarwal@samsung.com>
ua-daemon/include/ua-manager-core.h
ua-daemon/src/ua-manager-core.c
ua-daemon/src/ua-manager-device-db.c