]> git.ipfire.org Git - pakfire.git/commitdiff
build: Add more logging
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 22 Jul 2021 13:13:50 +0000 (13:13 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 22 Jul 2021 13:14:11 +0000 (13:14 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/libpakfire/build.c

index d176d1da58db881efe7fb5b07460093ae6552a12..75426ba1d5897b1c96a32aa67738a31c2e40bbac 100644 (file)
@@ -857,11 +857,15 @@ PAKFIRE_EXPORT int pakfire_build(struct pakfire* pakfire, const char* path,
                return 1;
        }
 
+       DEBUG(pakfire, "Building %s...\n", path);
+
        // Try parsing the Build ID
        if (id) {
                r = uuid_parse(id, build_id);
-               if (r)
+               if (r) {
+                       ERROR(pakfire, "Could not parse build ID %s\n", id);
                        return r;
+               }
 
        // Otherwise initialize the Build ID with something random
        } else {