Skip to content
Browse files

WHISTLE-1441: log the sender's queue name

  • Loading branch information...
1 parent a6266f2 commit b3b4e112d97a6641de9efe183252cb14f8ab98dd @jamesaimonetti jamesaimonetti committed Dec 6, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 whistle_apps/apps/acdc/src/acdc_queue_listener.erl
View
3 whistle_apps/apps/acdc/src/acdc_queue_listener.erl
@@ -278,7 +278,7 @@ handle_cast({start_friends, QueueJObj}, #state{worker_sup=WorkerSup
{stop, failed_fsm, State}
end
end;
-handle_cast({queue_name, <<>>}, State) ->
+handle_cast({queue_name, undefined}, State) ->
fetch_my_queue(),
{noreply, State};
handle_cast({queue_name, Q}, #state{my_q=undefined}=State) ->
@@ -519,6 +519,7 @@ code_change(_OldVsn, State, _Extra) ->
%%%===================================================================
-spec send_member_connect_req/5 :: (ne_binary(), ne_binary(), ne_binary(), ne_binary(), ne_binary()) -> 'ok'.
send_member_connect_req(CallId, AcctId, QueueId, MyQ, MyId) ->
+ lager:debug("sending req via ~s", [MyQ]),
Req = props:filter_undefined(
[{<<"Account-ID">>, AcctId}
,{<<"Queue-ID">>, QueueId}

0 comments on commit b3b4e11

Please sign in to comment.
Something went wrong with that request. Please try again.