aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/web/xml.ex
diff options
context:
space:
mode:
authorAlex Gleason <alex@alexgleason.me>2021-05-03 14:43:28 -0500
committerAlex Gleason <alex@alexgleason.me>2021-05-03 14:43:28 -0500
commitc186b059a77bf6cece831887948e23ee95222a1a (patch)
tree3a3a052f8c76b99e44ea5eb25d6b6bd659af23dc /lib/pleroma/web/xml.ex
parentc80b1aaf514dec6b538a9833d48df027708b6b4d (diff)
parent377f84f3678f9c2541fbd4a200cd93c5ab0dea24 (diff)
downloadpleroma-c186b059a77bf6cece831887948e23ee95222a1a.tar.gz
Merge remote-tracking branch 'pleroma/develop' into dont-crash-email-settings
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)}")