Details
Description
An example stacktrace below. Just a simple one line warning would do imho. We can always log the complete stack on debug.
30.07.2009 16:16:16 ERROR [org.hippoecm.frontend.editor.plugins.HippoQueryTemplatePlugin.<init>():82] invalid query statement. Revert to default statement Encountered "$" at line 1, column 19.
Was expecting one of:
"or" ...
"and" ...
"div" ...
"idiv" ...
"mod" ...
"*" ...
"return" ...
"to" ...
"where" ...
"intersect" ...
"union" ...
"except" ...
<Instanceof> ...
<Castable> ...
"/" ...
"//" ...
"=" ...
"is" ...
"!=" ...
"<=" ...
"<<" ...
">=" ...
">>" ...
"eq" ...
"ne" ...
"gt" ...
"ge" ...
"lt" ...
"le" ...
"<" ...
">" ...
"-" ...
"+" ...
"|" ...
"[" ...
<ForVariable> ...
<LetVariable> ...
<CastAs> ...
<TreatAs> ...
"," ...
<OrderBy> ...
<OrderByStable> ...
for statement: for $v in return $v: Encountered "$" at line 1, column 19.
Was expecting one of:
"or" ...
"and" ...
"div" ...
"idiv" ...
"mod" ...
"*" ...
"return" ...
"to" ...
"where" ...
"intersect" ...
"union" ...
"except" ...
<Instanceof> ...
<Castable> ...
"/" ...
"//" ...
"=" ...
"is" ...
"!=" ...
"<=" ...
"<<" ...
">=" ...
">>" ...
"eq" ...
"ne" ...
"gt" ...
"ge" ...
"lt" ...
"le" ...
"<" ...
">" ...
"-" ...
"+" ...
"|" ...
"[" ...
<ForVariable> ...
<LetVariable> ...
<CastAs> ...
<TreatAs> ...
"," ...
<OrderBy> ...
<OrderByStable> ...