Skip to content

Commit

Permalink
change inspect to logger error
Browse files Browse the repository at this point in the history
  • Loading branch information
daveminer committed Nov 11, 2023
1 parent 0fe80e9 commit 68e6b46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/basket_web/components/core_components.ex
Original file line number Diff line number Diff line change
Expand Up @@ -730,7 +730,7 @@ defmodule BasketWeb.CoreComponents do
_ -> ""
end
else
IO.inspect("TODO:NOTAMAP OR NIL KEY: #{inspect(row)}")
Logger.error("Should be a map: #{row}")

Check warning on line 733 in lib/basket_web/components/core_components.ex

View workflow job for this annotation

GitHub Actions / test

you must require Logger before invoking the macro Logger.error/1
end
end
end

0 comments on commit 68e6b46

Please sign in to comment.