aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/web/xml.ex
diff options
context:
space:
mode:
authorAlex Gleason <alex@alexgleason.me>2021-05-19 14:27:59 -0500
committerAlex Gleason <alex@alexgleason.me>2021-05-19 14:27:59 -0500
commit0461794375ebd22a91548f20d736da624e38c06a (patch)
tree2d579f1d08c264c32d4692ceaf0468158211b775 /lib/pleroma/web/xml.ex
parente3173a279dad89dfce6eae89368ad3ba180c0490 (diff)
parent8e9f032f25251d910b59c55226d10a305bad3cba (diff)
downloadpleroma-0461794375ebd22a91548f20d736da624e38c06a.tar.gz
Merge remote-tracking branch 'pleroma/develop' into plug-runtime-dev
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)}")