mirror of https://github.com/AxioDL/metaforce.git
Only show 'unable to translate to path' in verbosity >= 1
This commit is contained in:
parent
38e5907ad2
commit
55867616c8
|
@ -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 {};
|
||||||
|
|
Loading…
Reference in New Issue