diff options
author | José Bollo <jose.bollo@iot.bzh> | 2017-03-16 11:19:00 +0100 |
---|---|---|
committer | José Bollo <jose.bollo@iot.bzh> | 2017-03-16 12:01:02 +0100 |
commit | 59c4af98b761d0f11514e9080a46a32bb440ebc0 (patch) | |
tree | 3558750d81e7504ac9481e717fbd71735dab95d7 | |
parent | f62f4e2a264428fa94fc0d658e02ed00b895939c (diff) |
afm-run: improve error diagnostic
Change-Id: Ic23bcc031fdc72e15675bffcbac619ef41a2f241
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
-rw-r--r-- | src/afm-run.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/afm-run.c b/src/afm-run.c index 55b2daf..089aa77 100644 --- a/src/afm-run.c +++ b/src/afm-run.c @@ -468,6 +468,7 @@ static int fill_launch_desc(struct json_object *appli, || !j_read_string_at(pub, "name", &desc->name) || !j_read_integer_at(pub, "width", &desc->width) || !j_read_integer_at(pub, "height", &desc->height)) { + ERROR("bad internal description of the application to launch: %s", json_object_get_string(appli)); errno = EINVAL; return -1; } |