resolve BUFGIX add uses resolution fail messages
diff --git a/src/resolve.c b/src/resolve.c
index 2e1b0e5..fac2a78 100644
--- a/src/resolve.c
+++ b/src/resolve.c
@@ -5006,7 +5006,7 @@
     if (!uses->grp) {
         rc = resolve_uses_schema_nodeid(uses->name, (const struct lys_node *)uses, (const struct lys_node_grp **)&uses->grp);
         if (rc == -1) {
-            LOGVAL(LYE_INRESOLV, LY_VLOG_LYS, uses, "grouping", uses->name);
+            LOGVAL(LYE_INRESOLV, LY_VLOG_LYS, uses, "uses", uses->name);
             return -1;
         } else if (rc > 0) {
             LOGVAL(LYE_INCHAR, LY_VLOG_LYS, uses, uses->name[rc - 1], &uses->name[rc - 1]);
@@ -5019,6 +5019,7 @@
                 ((struct lys_node_grp *)par_grp)->nacm++;
                 uses->flags |= LYS_USESGRP;
             }
+            LOGVAL(LYE_INRESOLV, LY_VLOG_LYS, uses, "uses", uses->name);
             return EXIT_FAILURE;
         }
     }
@@ -5031,6 +5032,7 @@
             /* instantiate grouping only when it is completely resolved */
             uses->grp = NULL;
         }
+        LOGVAL(LYE_INRESOLV, LY_VLOG_LYS, uses, "uses", uses->name);
         return EXIT_FAILURE;
     }