Skip to content

Commit

Permalink
Bug: fix log message
Browse files Browse the repository at this point in the history
  • Loading branch information
davidspiola committed May 16, 2023
1 parent 1f147b7 commit 27fc77d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Service/ApiService.php
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ protected function validateResponse(array $response, ?string $additionalText = n
if (isset($response['errors'])) {
$json = json_encode($response['errors']);
$this->mauticLogger->error($additionalText . $json);
throw new Exception($response['errors']);
throw new Exception(implode('<----->',$response['errors']));
}

return $response;
Expand Down

0 comments on commit 27fc77d

Please sign in to comment.