Skip to content

Commit fe4a8b6

Browse files
committed
[SharedCache] Make error about invalid metadata a warning, we recover sorta gracefully now
1 parent 115718d commit fe4a8b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

view/sharedcache/core/SharedCache.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1455,7 +1455,7 @@ SharedCache::SharedCache(BinaryNinja::Ref<BinaryNinja::BinaryView> dscView) :
14551455
// TODO: We need a way to prompt the user and ask if they want to continue (like BNDB version upgrades)
14561456
// TODO: To do that we really need to consolidate _where_ SharedCache is called.
14571457
// TODO: Specifically the **first** call to this must originate in DSCView, which is NOT the case currently.
1458-
m_logger->LogError("Metadata was invalid, recreating initial load of shared cache information...");
1458+
m_logger->LogWarn("Metadata was invalid, recreating initial load of shared cache information...");
14591459
}
14601460

14611461
if (m_modifiedState->viewState.value_or(m_viewSpecificState->viewState) != DSCViewStateUnloaded)

0 commit comments

Comments
 (0)