fix: format console action crash
This commit is contained in:
parent
640dd130fa
commit
32d838c85b
|
@ -525,6 +525,10 @@ do_format_action(#{mod := Mod, func := Func, args := Args}) ->
|
||||||
#{
|
#{
|
||||||
function => printable_function_name(Mod, Func),
|
function => printable_function_name(Mod, Func),
|
||||||
args => maps:remove(preprocessed_tmpl, Args)
|
args => maps:remove(preprocessed_tmpl, Args)
|
||||||
|
};
|
||||||
|
do_format_action(#{mod := Mod, func := Func}) ->
|
||||||
|
#{
|
||||||
|
function => printable_function_name(Mod, Func)
|
||||||
}.
|
}.
|
||||||
|
|
||||||
printable_function_name(emqx_rule_actions, Func) ->
|
printable_function_name(emqx_rule_actions, Func) ->
|
||||||
|
|
Loading…
Reference in New Issue