Some refactoring.

This commit is contained in:
Roger Braun 2017-05-05 12:07:38 +02:00
commit 7269c51f3a
8 changed files with 36 additions and 31 deletions

View file

@ -102,8 +102,8 @@ defmodule Pleroma.Web.WebFinger do
{:ok, data}
else
e ->
Logger.debug("Couldn't finger #{account}.")
Logger.debug(inspect(e))
Logger.debug(fn -> "Couldn't finger #{account}." end)
Logger.debug(fn -> inspect(e) end)
{:error, e}
end
end