Clarify that this error is about a problem decoding the expected JSON
payload
This commit is contained in:
parent
96cfc67e05
commit
16d102c153
1 changed files with 1 additions and 1 deletions
|
@ -301,7 +301,7 @@ def fetch_and_prepare_user_from_ap_id(ap_id) do
|
||||||
{:ok, data} <- Poison.decode(body) do
|
{:ok, data} <- Poison.decode(body) do
|
||||||
user_data_from_user_object(data)
|
user_data_from_user_object(data)
|
||||||
else
|
else
|
||||||
e -> Logger.error("Could not user at fetch #{ap_id}, #{inspect(e)}")
|
e -> Logger.error("Could not decode user at fetch #{ap_id}, #{inspect(e)}")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue