aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/web/xml.ex
diff options
context:
space:
mode:
authorAlex Gleason <alex@alexgleason.me>2021-06-01 13:56:40 -0500
committerAlex Gleason <alex@alexgleason.me>2021-06-01 13:56:40 -0500
commit708210b9940aa7f5a16591026f861471f4844a98 (patch)
treeea3aa89075c52b47ce03f631ad80a87e181d1187 /lib/pleroma/web/xml.ex
parenta744c47e9a43a751438973a66b7201b006c6b944 (diff)
parentee52fc840d4d6eb1caab811a9b00ab1b95662d77 (diff)
downloadpleroma-708210b9940aa7f5a16591026f861471f4844a98.tar.gz
Merge remote-tracking branch 'pleroma/develop' into cycles-streaming
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)}")