SUBST: CheckContext: log token name the context is missing to.
[citadel.git] / webcit / subst.c
index 6f85d04cd28b0bfca2d53aded61cf200af144732..02de06103b982a2baa6a7762c6c524987eba9684 100644 (file)
@@ -392,7 +392,7 @@ int CheckContext(StrBuf *Target, ContextFilter *Need, WCTemplputParams *TP, cons
                        return 1;
 
                 LogTemplateError(
-                        Target, ErrType, ERR_PARM1, TP,
+                        Target, ErrType, ERR_NAME, TP,
                        "  WARNING: requires Context: [%s], have [%s]!", 
                        ContextName(Need->ContextType), 
                        ContextName(TP->Filter.ContextType));