Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 6d8b4e8

Browse files
committed
logging fixes
1 parent 7bcc33f commit 6d8b4e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Api/AbstractApi.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ protected function checkExceptions($response, $endpoint, $parameters)
118118

119119
if (! $response->successful()) {
120120
if (config('magento.log_failed_requests')) {
121-
Log::info('[MAGENTO API][STATUS] '.$response->status().' [ENDPOINT] '.$endpoint.' [RESPONSE] '.json_encode($response->json()));
121+
Log::info('[MAGENTO API][STATUS] '.$response->status().' [ENDPOINT] '.$endpoint.' [PARAMETERS] '. json_encode($parameters) .' [RESPONSE] '.json_encode($response->json()));
122122
}
123123
}
124124

0 commit comments

Comments
 (0)