mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-26 17:38:45 +01:00
Fix exception handling in is_voice_request/1
This commit is contained in:
parent
30d89abf66
commit
44987479a5
@ -3647,7 +3647,7 @@ is_voice_request(Els) ->
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
catch
|
catch
|
||||||
_ ->
|
error: _ ->
|
||||||
false
|
false
|
||||||
end.
|
end.
|
||||||
|
|
||||||
@ -3671,7 +3671,7 @@ check_voice_request_fields({xmlelement, "field", _, Els} = Elem, Acc) ->
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
catch
|
catch
|
||||||
_ ->
|
error: _ ->
|
||||||
false
|
false
|
||||||
end.
|
end.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user