aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/web/xml.ex
diff options
context:
space:
mode:
authorAlex Gleason <alex@alexgleason.me>2021-06-01 16:17:43 -0500
committerAlex Gleason <alex@alexgleason.me>2021-06-01 16:17:43 -0500
commit028017711cdb7966008a303058c0b3f72492f985 (patch)
treec125f85bbe1047d1132227804fbe5ad9cfe76e5a /lib/pleroma/web/xml.ex
parent9879c18548c1b9f37df724259f65d5cd098f44c5 (diff)
parent3fe6ada6fc6f42057cb346c04e4ecc9f35c0e5cb (diff)
downloadpleroma-028017711cdb7966008a303058c0b3f72492f985.tar.gz
Merge remote-tracking branch 'pleroma/develop' into cycles-email
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)}")