Skip to content

Commit

Permalink
doc: Fix comment typo
Browse files Browse the repository at this point in the history
  • Loading branch information
g-bougard committed Oct 8, 2024
1 parent 2106670 commit 2a8b9b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/GLPI/Agent/HTTP/Client/GLPI.pm
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ sub send { ## no critic (ProhibitBuiltinHomonyms)
return;
}

# log server error message is set
# log server error message if set
if ($answer->status eq 'error' || !$response->is_success()) {
my $message = $answer->get('message');
$logger->error(_log_prefix . "server error: $message")
Expand Down

0 comments on commit 2a8b9b2

Please sign in to comment.