Skip to content

Commit

Permalink
Add log message to help debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
ConnorRigby committed Oct 31, 2018
1 parent 1eaada8 commit c05b214
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/nerves_wpa_supplicant/messages.ex
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,11 @@ defmodule Nerves.WpaSupplicant.Messages do
|> Map.put(String.to_atom(key), kv_value(String.trim_trailing(value)))

_ ->
Logger.debug([
"Failed to decode response: ",
inspect(resp, limit: :infinity)
])

acc
end
end)
Expand Down

0 comments on commit c05b214

Please sign in to comment.