schema MAINTENANCE clarify error message text
diff --git a/src/path.c b/src/path.c
index a64e668..6f867f3 100644
--- a/src/path.c
+++ b/src/path.c
@@ -400,7 +400,8 @@
     if (pref) {
         *mod = ly_resolve_prefix(ctx, pref, len, format, prefix_data);
         if (!*mod) {
-            LOGVAL_P(ctx, cur_node, LYVE_XPATH, "Prefix \"%.*s\" not found of a module in path.", len, pref);
+            LOGVAL_P(ctx, cur_node, LYVE_XPATH, "No module connected with the prefix \"%.*s\" found (prefix format %d).",
+                    len, pref, format);
             return LY_EVALID;
         } else if (!(*mod)->implemented) {
             if (lref == LY_PATH_LREF_FALSE) {