Skip to content

Commit bbd37aa

Browse files
committed
ICL: Messages fixes.
1 parent c518801 commit bbd37aa

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 minimization mode.";
37+
$message = "[{$method}] Calling `{$uri}`, body is not shown according to the custom rules.";
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 minimization mode.";
71+
$message = "[{$code}] Response is not shown according to the custom rules.";
7272
$context = [];
7373
}
7474
}

0 commit comments

Comments
 (0)