Skip to content

Commit

Permalink
Api 27427 500 claims status v2 404 (#12997)
Browse files Browse the repository at this point in the history
* Adds additional fault string to soap error handler

* Adjusts error handling to account for LH claim existence

* Removes uneeded arg
  • Loading branch information
stiehlrod authored Jun 15, 2023
1 parent f68ca03 commit b286a3d
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,12 @@ def get_fault_description(hash)
fault_string = hash&.dig('Envelope', 'Body', 'Fault', 'faultstring')
return {} if fault_string.include?('IntentToFileWebService') && fault_string.include?('not found')

return 'not_found' if fault_string.include?('could not be converted') || fault_string.include?('not found')
if fault_string.include?('No BnftClaim found')
return {}
elsif fault_string.include?('could not be converted') ||
fault_string.include?('not found')
return 'not_found'
end
return 'unprocessable' if fault_string.include?('does not have necessary info')
end

Expand Down

0 comments on commit b286a3d

Please sign in to comment.