aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/web/xml.ex
diff options
context:
space:
mode:
authorAlex Gleason <alex@alexgleason.me>2021-05-29 13:32:57 -0500
committerAlex Gleason <alex@alexgleason.me>2021-05-29 13:32:57 -0500
commit0de6716f066ca1822967a612a51c25f96aeb60b1 (patch)
tree9e61d18d9b666f45bbb6e51d6826d71a5a21d5bf /lib/pleroma/web/xml.ex
parentfa543a936124abee524f9a103c17d2601176dcd4 (diff)
parent8871ca5aa35e9533e57b4a15420687869378a981 (diff)
downloadpleroma-0de6716f066ca1822967a612a51c25f96aeb60b1.tar.gz
Merge remote-tracking branch 'pleroma/develop' into cycles-pipeline
Diffstat (limited to 'lib/pleroma/web/xml.ex')
-rw-r--r--lib/pleroma/web/xml.ex2
1 files changed, 1 insertions, 1 deletions
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)}")