Skip to content

Commit

Permalink
Update log macro
Browse files Browse the repository at this point in the history
Signed-off-by: Eugenio Collado <eugeniocollado@eprosima.com>
  • Loading branch information
EugenioCollado committed Jan 8, 2025
1 parent b9251e5 commit 9a87525
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cpp/rtps/security/SecurityManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -397,10 +397,10 @@ bool SecurityManager::init(
if (!e)
{
// Unexpected code path. Let's log any errors
logError(SECURITY, "Error while configuring security plugin.")
EPROSIMA_LOG_ERROR(SECURITY, "Error while configuring security plugin.");
if (0 != strlen(exception.what()))
{
logError(SECURITY, exception.what())
EPROSIMA_LOG_ERROR(SECURITY, exception.what());
}

cancel_init();
Expand Down

0 comments on commit 9a87525

Please sign in to comment.