Skip to content

Commit c7f392f

Browse files
committed
update readme to use double quotes on error
1 parent 8fffc8f commit c7f392f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,12 +107,12 @@ try {
107107
$request = $e->getRequest();
108108
$url = $request->getUrl();
109109
$params = serialize($request->getParams()->toArray());
110-
error_log('[API SERVER ERROR] Status Code: {$url} | Body: {$params}');
110+
error_log("[API SERVER ERROR] Status Code: {$url} | Body: {$params}");
111111

112112
$response = $e->getResponse();
113113
$code = $response->getStatusCode();
114114
$body = $response->getBody();
115-
error_log('[API SERVER ERROR] Status Code: {$code} | Body: {$body}');
115+
error_log("[API SERVER ERROR] Status Code: {$code} | Body: {$body}");
116116

117117
} catch (ClientErrorResponseException $e) {
118118
// Handle the error

0 commit comments

Comments
 (0)