Fix double quotes in error logs
authorMark Felder <feld@FreeBSD.org>
Wed, 11 Sep 2019 21:16:09 +0000 (16:16 -0500)
committerMark Felder <feld@FreeBSD.org>
Wed, 11 Sep 2019 21:16:09 +0000 (16:16 -0500)
Example:

pleroma: [error] Couldn't fetch ""https://pleroma.soykaf.com/objects/6288a14b-0623-40fc-a26a-0d358f8a11ca"", error: nil

lib/pleroma/web/activity_pub/transmogrifier.ex

index 468961bd0e204dbe5b294d6272ba26a142d82897..350b83abb3d245f5a08be850af46db9ca55188fd 100644 (file)
@@ -185,12 +185,12 @@ defmodule Pleroma.Web.ActivityPub.Transmogrifier do
             |> Map.put("context", replied_object.data["context"] || object["conversation"])
           else
             e ->
-              Logger.error("Couldn't fetch \"#{inspect(in_reply_to_id)}\", error: #{inspect(e)}")
+              Logger.error("Couldn't fetch #{inspect(in_reply_to_id)}, error: #{inspect(e)}")
               object
           end
 
         e ->
-          Logger.error("Couldn't fetch \"#{inspect(in_reply_to_id)}\", error: #{inspect(e)}")
+          Logger.error("Couldn't fetch #{inspect(in_reply_to_id)}, error: #{inspect(e)}")
           object
       end
     else