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:
JimMoen 2023-03-09 01:42:34 +08:00
parent 0c5e95e2d0
commit 842cb7fadc
No known key found for this signature in database
GPG Key ID: 87A520B4F76BA86D
1 changed files with 4 additions and 0 deletions

View File

@ -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.