Skip to content

Commit

Permalink
Merge pull request #1972 from wolfsolver/issue_1969_bis
Browse files Browse the repository at this point in the history
Handling Recurring Transaction exception
  • Loading branch information
guanlisheng authored Dec 16, 2024
2 parents a99f334 + c242fa3 commit 560c3b8
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -183,8 +183,12 @@ public void moveNextOccurrence() {
}
RecurringTransaction tx = getRecurringTransaction();
if (tx == null) {
// Issue #1969 TODO - See dump on gPlay. Some time recurringTransactionId is not found on the database.
throw new IllegalArgumentException("Recurring Transaction is not set!");
// Issue #1969 - See dump on gPlay. Some time recurringTransactionId is not found on the database.
//throw new IllegalArgumentException("Recurring Transaction is not set!");
try {
Toast.makeText(getContext(), "Not Found Transaction "+recurringTransactionId, Toast.LENGTH_SHORT).show();
} catch (Exception e) {
}
}

Integer recurrenceType = tx.getRecurrenceInt();
Expand Down

0 comments on commit 560c3b8

Please sign in to comment.