fix: improve Msg91 error handling to extract API error messages#133
fix: improve Msg91 error handling to extract API error messages#133deepshekhardas wants to merge 2 commits into
Conversation
Greptile SummaryThis PR improves error reporting in the Msg91 SMS adapter by extracting the actual API error message from the response body (checking
Confidence Score: 5/5The change is safe to merge; it strictly improves the error message surfaced to callers and does not touch the success path or any shared logic. The change is narrow and low-risk — it replaces a hard-coded "Unknown error" string with an extracted API message inside a single else-branch. The one edge case (non-JSON response body) is unlikely for a JSON API and would only degrade error readability, not corrupt data or break delivery tracking. No files require special attention beyond the inline suggestion on Important Files Changed
Reviews (2): Last reviewed commit: "fix: guard Msg91 error extraction agains..." | Re-trigger Greptile |
No description provided.