X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=lib%2Fpleroma%2Fweb%2Fxml%2Fxml.ex;h=da3f68ecba51f22ba966665944f37feb908c2cdf;hb=aaa81d354000be56e3ea6709e0f39a2c93f04174;hp=36430a3faf9379c9f52d332b8e01ff6780b825ef;hpb=bb864e96ad4e0be470da78baa000019f571e30db;p=akkoma diff --git a/lib/pleroma/web/xml/xml.ex b/lib/pleroma/web/xml/xml.ex index 36430a3fa..da3f68ecb 100644 --- a/lib/pleroma/web/xml/xml.ex +++ b/lib/pleroma/web/xml/xml.ex @@ -32,6 +32,10 @@ defmodule Pleroma.Web.XML do :exit, _error -> Logger.debug("Couldn't parse XML: #{inspect(text)}") :error + rescue + e -> + Logger.debug("Couldn't parse XML: #{inspect(text)}") + :error end end end