forked from firka/flutter
[iOS] Not log callback cache info if cache is empty (flutter/engine#36996)
This commit is contained in:
@@ -130,8 +130,7 @@ void DartCallbackCache::LoadCacheFromDisk() {
|
||||
Document d;
|
||||
d.Parse(cache_contents.c_str());
|
||||
if (d.HasParseError() || !d.IsArray()) {
|
||||
FML_LOG(INFO) << "Could not parse callback cache, aborting restore";
|
||||
// TODO(bkonyi): log and bail (delete cache?)
|
||||
// Could not parse callback cache, aborting restore.
|
||||
return;
|
||||
}
|
||||
const auto entries = d.GetArray();
|
||||
|
||||
Reference in New Issue
Block a user