DBC22-6337: return populated list and log errors when exception thrown#1314
Conversation
0eb477b to
bd35b0c
Compare
|
Question, so if the source API is returning an error, it will now presume a []. The problem with that is that I assume all HEF entries will be removed correct? If that is the case, we don't actually want that behavior. If source API is unable, just log an error but do not assume []. |
Right, returning an empty list should not be a proper way to handle this, I've updated the code to return the json object populated, just log the error happend. |
wmuldergov
left a comment
There was a problem hiding this comment.
Can you revert the test back to testing what happens in case of an API failure.
Also can you fix the sonarcloud failures?
Done |
DBC22-6337: updated test case DBC22-6337: fixed scope error DBC22-6337: just log the error instead of returning empty list DBC22-6337: fixed sonarcloud alerts
59604bc to
96fb505
Compare
|



📝 Submitter
🔗 JIRA Ticket
✅ Quality Assurance & Requirements
⚙️ Configuration & Environment
🧪 How to Test (if required)
🔍 Reviewer Checklist