From 4b3eff012c9c6a61ab58cecfc8af1fe23b870541 Mon Sep 17 00:00:00 2001 From: Mason Reed Date: Fri, 7 Mar 2025 16:56:58 -0500 Subject: [SharedCache] Make error about invalid metadata a warning, we recover sorta gracefully now --- view/sharedcache/core/SharedCache.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'view/sharedcache/core/SharedCache.cpp') diff --git a/view/sharedcache/core/SharedCache.cpp b/view/sharedcache/core/SharedCache.cpp index f4580d3d..4c8c355d 100644 --- a/view/sharedcache/core/SharedCache.cpp +++ b/view/sharedcache/core/SharedCache.cpp @@ -1455,7 +1455,7 @@ SharedCache::SharedCache(BinaryNinja::Ref dscView) : // TODO: We need a way to prompt the user and ask if they want to continue (like BNDB version upgrades) // TODO: To do that we really need to consolidate _where_ SharedCache is called. // TODO: Specifically the **first** call to this must originate in DSCView, which is NOT the case currently. - m_logger->LogError("Metadata was invalid, recreating initial load of shared cache information..."); + m_logger->LogWarn("Metadata was invalid, recreating initial load of shared cache information..."); } if (m_modifiedState->viewState.value_or(m_viewSpecificState->viewState) != DSCViewStateUnloaded) -- cgit v1.3.1