mirror of
https://github.com/Instagram/IGListKit
synced 2026-05-05 22:48:21 +00:00
Log critical assert
Summary: Use `IGFailure` to log critical issues Differential Revision: D46029468 Privacy Context Container: L1132866 fbshipit-source-id: f642a50310e7a7d7a80e01ba61d382bb9a794496
This commit is contained in:
parent
dffcd4d0c8
commit
dbda739b62
1 changed files with 1 additions and 0 deletions
|
|
@ -231,6 +231,7 @@ willPerformBatchUpdatesWithCollectionView:self.collectionView
|
|||
/// with our product team to properly fix their data source changes outside of the -performBatchUpdatesBlock:
|
||||
/// IGLisKit processed a new being as an assert that requires investigation,
|
||||
/// since it will be processed as invalid data source state that needs a reload.
|
||||
IGFailure(@"The data source returned an invalid number of sections and rows due to updates applied outside of the performBatchUpdates block. This will cause a crash.");
|
||||
[self begin];
|
||||
return;
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue