plugins types FEATURE log module if ident not found
@@ -1445,7 +1445,8 @@ ly_type_store_identityref(const struct ly_ctx *ctx, const struct lysc_type *type
}
if (!identities || (u == LY_ARRAY_COUNT(identities))) {
/* no match */
- rc = asprintf(&errmsg, "Invalid identityref \"%.*s\" value - identity not found.", (int)value_len, value);
+ rc = asprintf(&errmsg, "Invalid identityref \"%.*s\" value - identity not found in module \"%s\".",
+ (int)value_len, value, mod->name);
goto error;
} else if (!mod->implemented) {
/* non-implemented module */
