Add logs for invalid profiles
This commit is contained in:
parent
c9677fc6a7
commit
3b49e9329b
1 changed files with 8 additions and 0 deletions
|
|
@ -421,6 +421,14 @@ void ProfileManager::UpdateProfileList()
|
|||
|
||||
LOG_INFO("Valid v%i profile found for %s", profile_version, filename.c_str());
|
||||
}
|
||||
else
|
||||
{
|
||||
LOG_WARNING("Profile %s isn't valid for current version (v%i, expected v%i at most)", filename.c_str(), profile_version, OPENRGB_PROFILE_VERSION);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
LOG_WARNING("Profile %s isn't valid: header is missing", filename.c_str());
|
||||
}
|
||||
|
||||
profile_file.close();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue