Skip to content

Commit 6b21dca

Browse files
committed
ICL: Log message fixed.
1 parent c2c1cbe commit 6b21dca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

integrations/guzzle.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ function iclogger_guzzle_middleware(LoggerInterface $log, $type = 'raw', callabl
3434
if (!empty($shouldLogRequest)) {
3535
$shouldLogRequest = call_user_func($shouldLogRequest, $request);
3636
if (!$shouldLogRequest) {
37-
$message = "[{$method}] Calling `{$uri}`, body is not shown according to the custom logic.";
37+
$message = "[{$method}] Calling `{$uri}`, body is not shown, according to the custom logic.";
3838
$context = [];
3939
}
4040
}
@@ -68,7 +68,7 @@ function ($response) use ($request, $log, $type, $shouldLogResponse) {
6868
if (!empty($shouldLogResponse)) {
6969
$shouldLogResponse = call_user_func($shouldLogResponse, $request, $response);
7070
if (!$shouldLogResponse) {
71-
$message = "[{$code}] Response is not shown according to the custom logic.";
71+
$message = "[{$code}] Response is not shown, according to the custom logic.";
7272
$context = [];
7373
}
7474
}

0 commit comments

Comments
 (0)