Skip to content

Commit

Permalink
Do not swallow MobileUCRTooLargeException error
Browse files Browse the repository at this point in the history
  • Loading branch information
millerdev committed Jun 20, 2024
1 parent 77e0fe1 commit 6f76727
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions corehq/apps/app_manager/fixtures/mobile_ucr.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,10 +111,10 @@ def __call__(self, restore_state):
for provider in providers:
try:
fixtures.extend(provider(restore_state, restore_user, needed_versions, report_configs))
row_count = provider.row_count
self.report_ucr_row_count(provider.row_count, provider.version, restore_user.domain)
except MobileUCRTooLargeException as err:
row_count = err.row_count
self.report_ucr_row_count(row_count, provider.version, restore_user.domain)
self.report_ucr_row_count(err.row_count, provider.version, restore_user.domain)
raise

return fixtures

Expand Down

0 comments on commit 6f76727

Please sign in to comment.