X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=lib%2Fpleroma%2Fweb%2Fxml.ex;h=0ab6e9d320f7c0bed4fa8d6071bd87ce2c203559;hb=7c4b415929cfef17c409eab095b8e1eb956607cc;hp=2b34611ace22f9dd6c03a2f65f13b845255800aa;hpb=3aa25b008d145bc7bfda907bca3b327753380728;p=akkoma diff --git a/lib/pleroma/web/xml.ex b/lib/pleroma/web/xml.ex index 2b34611ac..0ab6e9d32 100644 --- a/lib/pleroma/web/xml.ex +++ b/lib/pleroma/web/xml.ex @@ -31,7 +31,7 @@ defmodule Pleroma.Web.XML do |> :binary.bin_to_list() |> :xmerl_scan.string(quiet: true) - doc + {:ok, doc} rescue _e -> Logger.debug("Couldn't parse XML: #{inspect(text)}")