log UPDATE avoid using LY_EVALID without vecode

Refs #2215
diff --git a/src/tree_schema.c b/src/tree_schema.c
index 9d9d2b4..59e0457 100644
--- a/src/tree_schema.c
+++ b/src/tree_schema.c
@@ -1952,7 +1952,7 @@
             const struct ly_err_item *e = ly_err_last(ctx);
 
             if (e && (!e->schema_path || e->line)) {
-                LOGERR(ctx, ret, "Parsing module \"%s\" failed.", mod->name);
+                LOGERR(ctx, LY_EOTHER, "Parsing module \"%s\" failed.", mod->name);
             }
         }
     }