fix: Improve field access safety and duration parsing to prevent runtime exceptions#689
Conversation
|
Hi @cyberflying, |
134e772 to
623ce40
Compare
|
Hi @Avijit-Microsoft , I’ve updated the code to include this logic. Additionally, get_field_value() is used as a defensive approach to avoid a potential KeyError. When a WAV file does not include compliant content, CU processing will not generate the complaint field. In such cases, directly accessing fields['complaint']['valueString'] would fail. |
|
🎉 This PR is included in version 3.17.6 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |


Purpose
get_field_value()helper function for safer field access to avoid KeyError exceptionsDoes this introduce a breaking change?
Golden Path Validation
Deployment Validation
What to Check
Verify that the following are valid
Other Information