Skip to content

Commit

Permalink
refactor(post_json): log unparsed tuple instead of post on error
Browse files Browse the repository at this point in the history
  • Loading branch information
unenglishable committed Dec 12, 2024
1 parent 3b8b579 commit c921a26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/epochtalk_server_web/json/post_json.ex
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ defmodule EpochtalkServerWeb.Controllers.PostJSON do
parsed_tuple

{:error, unparsed_tuple} ->
Logger.error("#{__MODULE__}(tuple parse): #{inspect(posts)}")
Logger.error("#{__MODULE__}(tuple parse): #{inspect(unparsed_tuple)}")
unparsed_tuple
end

Expand Down

0 comments on commit c921a26

Please sign in to comment.