Skip to content

Commit

Permalink
Fix dialyzer
Browse files Browse the repository at this point in the history
  • Loading branch information
macpie committed Jul 31, 2024
1 parent 249573e commit 4e45e7c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/protocols/hpr_protocol_http_roaming.erl
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ send(PacketUp, Route, Timestamp, GatewayLocation) ->
key => WorkerKey, protocol => Protocol, net_id => hpr_route:net_id(Route)
})
of
{error, worker_not_started, _} = Err ->
{error, Reason} = Err ->
lager:error(
"failed to start http connector for ~s: ~p",
[hpr_utils:gateway_name(PubKeyBin), Err]
[hpr_utils:gateway_name(PubKeyBin), Reason]
),
{error, worker_not_started};
Err;
{ok, WorkerPid} ->
hpr_http_roaming_worker:handle_packet(WorkerPid, PacketUp, Timestamp, GatewayLocation),
ok
Expand Down

0 comments on commit 4e45e7c

Please sign in to comment.