mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-10 17:47:42 +00:00
Only show 'unable to translate to path' in verbosity >= 1
This commit is contained in:
@@ -30,7 +30,7 @@ hecl::ProjectPath UniqueIDBridge::TranslatePakIdToPath(const IDType& id, bool si
|
|||||||
{
|
{
|
||||||
if (pakRouter)
|
if (pakRouter)
|
||||||
{
|
{
|
||||||
if (!silenceWarnings && id)
|
if (hecl::VerbosityLevel >= 1 && !silenceWarnings && id)
|
||||||
LogDNACommon.report(logvisor::Warning,
|
LogDNACommon.report(logvisor::Warning,
|
||||||
"unable to translate %s to path", id.toString().c_str());
|
"unable to translate %s to path", id.toString().c_str());
|
||||||
return {};
|
return {};
|
||||||
@@ -43,7 +43,7 @@ hecl::ProjectPath UniqueIDBridge::TranslatePakIdToPath(const IDType& id, bool si
|
|||||||
const hecl::ProjectPath* search = project->lookupBridgePath(id.toUint64());
|
const hecl::ProjectPath* search = project->lookupBridgePath(id.toUint64());
|
||||||
if (!search)
|
if (!search)
|
||||||
{
|
{
|
||||||
if (!silenceWarnings && id)
|
if (hecl::VerbosityLevel >= 1 && !silenceWarnings && id)
|
||||||
LogDNACommon.report(logvisor::Warning,
|
LogDNACommon.report(logvisor::Warning,
|
||||||
"unable to translate %s to path", id.toString().c_str());
|
"unable to translate %s to path", id.toString().c_str());
|
||||||
return {};
|
return {};
|
||||||
|
|||||||
Reference in New Issue
Block a user