Fix exception handling in is_voice_request/1

This commit is contained in:
Maxim Ignatenko 2011-07-24 14:57:13 +03:00
parent 30d89abf66
commit 44987479a5
1 changed files with 2 additions and 2 deletions

View File

@ -3647,7 +3647,7 @@ is_voice_request(Els) ->
end
end
catch
_ ->
error: _ ->
false
end.
@ -3671,7 +3671,7 @@ check_voice_request_fields({xmlelement, "field", _, Els} = Elem, Acc) ->
end
end
catch
_ ->
error: _ ->
false
end.