Skip to content

Commit

Permalink
Code style
Browse files Browse the repository at this point in the history
Signed-off-by: Santti4go <santiaupi@gmail.com>
  • Loading branch information
Santti4go committed Dec 30, 2024
1 parent c5b0f12 commit 87837dc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/cpp/rtps/security/SecurityManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,10 @@ bool SecurityManager::init(
{
// Unexpected code path. Let's log any errors
logError(SECURITY, "Error while configuring security plugin.")
if (strlen(exception.what())) logError(SECURITY, exception.what())
if (strlen(exception.what()))
{
logError(SECURITY, exception.what())
}

cancel_init();
return false;
Expand Down

0 comments on commit 87837dc

Please sign in to comment.