mirror of
https://github.com/DarkStore-3DS/Project_CTR.git
synced 2026-07-03 08:49:03 +00:00
Tag error output as [ctrtool::ClassName ERROR], leaving warnings/progress indicators as [ctrtool::ClassName LOG]
This commit is contained in:
@@ -124,7 +124,7 @@ void ctrtool::CrrProcess::verifyData()
|
||||
}
|
||||
else
|
||||
{
|
||||
fmt::print(stderr, "[{} LOG] Could not read static CRR public key.\n", mModuleLabel);
|
||||
fmt::print(stderr, "[{} ERROR] Could not read static CRR public key.\n", mModuleLabel);
|
||||
mValidCertificateSignature = ValidState::Fail;
|
||||
}
|
||||
|
||||
@@ -149,15 +149,15 @@ void ctrtool::CrrProcess::verifyData()
|
||||
// log validation errors
|
||||
if (mValidCertificateSignature != ValidState::Good)
|
||||
{
|
||||
fmt::print(stderr, "[{} LOG] Signature for CRR Certificate was invalid.\n", mModuleLabel);
|
||||
fmt::print(stderr, "[{} ERROR] Signature for CRR Certificate was invalid.\n", mModuleLabel);
|
||||
}
|
||||
if (mValidBodySignature != ValidState::Good)
|
||||
{
|
||||
fmt::print(stderr, "[{} LOG] Signature for CRR Body was invalid.\n", mModuleLabel);
|
||||
fmt::print(stderr, "[{} ERROR] Signature for CRR Body was invalid.\n", mModuleLabel);
|
||||
}
|
||||
if (mValidUniqueId != ValidState::Good)
|
||||
{
|
||||
fmt::print(stderr, "[{} LOG] CRR UniqueId was invalid.\n", mModuleLabel);
|
||||
fmt::print(stderr, "[{} ERROR] CRR UniqueId was invalid.\n", mModuleLabel);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user