mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Remove exceptions from MapBuffer class
Summary: In Fabric we don't throw exception. This diff removes exception from MapBuffer class changelog: [internal] internal Reviewed By: JoshuaGross, sammy-SC Differential Revision: D27303496 fbshipit-source-id: 3f8c3bd2b41121672ef05153459b20cdc2efcda3
This commit is contained in:
committed by
Facebook GitHub Bot
parent
7704f651a0
commit
0b5fbf367d
@@ -32,7 +32,7 @@ MapBuffer::MapBuffer(uint8_t *const data, uint16_t dataSize) {
|
||||
if (dataSize != dataSize_) {
|
||||
LOG(ERROR) << "Error: Data size does not match, expected " << dataSize
|
||||
<< " found: " << dataSize_;
|
||||
throw "Error: Data size does not match";
|
||||
abort();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user