wgtpkg-install: search in subdir "htdocs" also
[src/app-framework-main.git] / src / afm-run.c
index f4f55e5..089aa77 100644 (file)
@@ -1,5 +1,5 @@
 /*
- Copyright 2015, 2016 IoT.bzh
+ Copyright 2015, 2016, 2017 IoT.bzh
 
  author: José Bollo <jose.bollo@iot.bzh>
 
@@ -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;
        }