aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/web/xml.ex
diff options
context:
space:
mode:
authorAlex Gleason <alex@alexgleason.me>2021-06-01 14:20:31 -0500
committerAlex Gleason <alex@alexgleason.me>2021-06-01 14:20:31 -0500
commitf6d2bd738d6cf4c495ba8fcd311ebf4705cf4343 (patch)
tree2c952a181713d063c91ec5e67c757903e08fd21b /lib/pleroma/web/xml.ex
parent8a5ceb7e53f1817f83a72b997f6b9daa7070972b (diff)
parentee52fc840d4d6eb1caab811a9b00ab1b95662d77 (diff)
downloadpleroma-f6d2bd738d6cf4c495ba8fcd311ebf4705cf4343.tar.gz
Merge remote-tracking branch 'pleroma/develop' into cycles-uploader
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)}")