Skip to content

Commit

Permalink
fix(centralizedConfiguration): fixes some log messages
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicogp committed Dec 3, 2024
1 parent 5152981 commit 026f1fd
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,11 @@ namespace centralized_configuration
}
else
{
LogWarn("Group update failed, no function set");
LogWarn("Group update failed, no getGroupId or downloadGroupFiles function set");
co_return module_command::CommandExecutionResult {
module_command::Status::FAILURE,
"CentralizedConfiguration group update failed, no function set"};
"CentralizedConfiguration group update failed, no getGroupId or downloadGroupFiles function "
"set."};
}
}
else
Expand All @@ -86,7 +87,9 @@ namespace centralized_configuration
m_downloadGroupFilesFunction(groupId, tmpGroupFile.string());
if (!m_validateFileFunction(tmpGroupFile))
{
LogWarn("Validate file failed, invalid group file received: {}", tmpGroupFile.string());
LogWarn("Failed to validate the file for group '{}', invalid group file received: {}",
groupId,
tmpGroupFile.string());
co_return module_command::CommandExecutionResult {
module_command::Status::FAILURE,
"CentralizedConfiguration validate file failed, invalid file received."};
Expand Down

0 comments on commit 026f1fd

Please sign in to comment.