add debug
This commit is contained in:
parent
384275ff70
commit
a1343cb992
@ -234,7 +234,8 @@ publish_directive(#{<<"version">> := Version, <<"location_code">> := LocationCod
|
||||
_ ->
|
||||
ReceiverPid ! {directive_reply, {error, RawReq, <<"location_code: ", LocationCode/binary, " not found in redis">>}}
|
||||
end;
|
||||
publish_directive(_Other, RawReq) ->
|
||||
publish_directive(Other, RawReq) ->
|
||||
lager:warning("[iot_zd_consumer] get a error message: ~p", [Other]),
|
||||
self() ! {directive_reply, {error, RawReq, <<"unknown directive">>}}.
|
||||
|
||||
-spec create_consumer(Props :: list()) -> {ok, ConnPid :: pid()} | {error, Reason :: any()}.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user