fix: debug log for rulesql parse failed
See also: PR#10059. The other error logs will be printed in `emqx_rule_runtime:apply_rule/3`
This commit is contained in:
parent
0c5e95e2d0
commit
842cb7fadc
|
@ -40,6 +40,10 @@ test(#{sql := Sql, context := Context}) ->
|
|||
test_rule(Sql, Select, Context, EventTopics)
|
||||
end;
|
||||
{error, Reason} ->
|
||||
?SLOG(debug, #{
|
||||
msg => "rulesql_parse_error",
|
||||
detail => Reason
|
||||
}),
|
||||
{error, Reason}
|
||||
end.
|
||||
|
||||
|
|
Loading…
Reference in New Issue