fix compile warnings
This commit is contained in:
parent
cf85a9aea1
commit
074fa790ba
53 changed files with 203 additions and 259 deletions
|
|
@ -28,12 +28,12 @@ defmodule Pleroma.Web.XML do
|
|||
|> :xmerl_scan.string()
|
||||
|
||||
doc
|
||||
catch
|
||||
:exit, _error ->
|
||||
rescue
|
||||
_e ->
|
||||
Logger.debug("Couldn't parse XML: #{inspect(text)}")
|
||||
:error
|
||||
rescue
|
||||
e ->
|
||||
catch
|
||||
:exit, _error ->
|
||||
Logger.debug("Couldn't parse XML: #{inspect(text)}")
|
||||
:error
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue