fix route dump
This commit is contained in:
parent
0b09d8a695
commit
9afa7c9787
|
@ -65,7 +65,7 @@ start_link() ->
|
||||||
gen_server:start_link({local, ?SERVER}, ?MODULE, [], []).
|
gen_server:start_link({local, ?SERVER}, ?MODULE, [], []).
|
||||||
|
|
||||||
route(Msg) ->
|
route(Msg) ->
|
||||||
lager:info("Route message: ~s", [emqtt_message:dump(Msg)]),
|
lager:info("Route ~s", [emqtt_message:dump(Msg)]),
|
||||||
% need to retain?
|
% need to retain?
|
||||||
emqtt_server:retain(Msg),
|
emqtt_server:retain(Msg),
|
||||||
% unset flag and pubsub
|
% unset flag and pubsub
|
||||||
|
|
Loading…
Reference in New Issue