You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@fineract.apache.org by "Ashhar Ahmad Khan (Jira)" <ji...@apache.org> on 2026/09/07 19:55:00 UTC
[jira] [Updated] (FINERACT-2716) SMS campaign preview JSON parsing failure is silently swallowed instead of logged
[ https://issues.apache.org/jira/browse/FINERACT-2716?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ashhar Ahmad Khan updated FINERACT-2716:
----------------------------------------
Fix Version/s: 1.16.0
> SMS campaign preview JSON parsing failure is silently swallowed instead of logged
> ---------------------------------------------------------------------------------
>
> Key: FINERACT-2716
> URL: https://issues.apache.org/jira/browse/FINERACT-2716
> Project: Apache Fineract
> Issue Type: Bug
> Reporter: Ashhar Ahmad Khan
> Assignee: Ashhar Ahmad Khan
> Priority: Trivial
> Fix For: 1.16.0
>
>
> In {{{}SmsCampaignWritePlatformServiceJpaImpl{}}}, the {{{}previewMessage{}}}-equivalent method catches {{IOException}} from JSON parsing and does nothing with it — no log, no rethrow. The exception disappears silently.
> This is the one remaining {{// TODO throw something here}} in this class; all other {{catch (IOException ...)}} blocks in the same class already log and continue. This follows up on FINERACT-2707, which fixed the equivalent issue in {{{}EmailCampaignWritePlatformCommandHandlerImpl{}}}.
> Fix: replace the TODO comment with a {{log.error(...)}} call, matching the existing convention elsewhere in the same class. No functional change otherwise.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)