Skip to content

Commit 8f47758

Browse files
committed
changes
1 parent 930e8d8 commit 8f47758

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

src/Gdpr/Service/GdprManagerService.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,12 @@ private function createExportResponse(mixed $data, string $providerKey, int $id)
149149
$jsonData = json_encode($data, JSON_THROW_ON_ERROR);
150150
} catch (JsonException $e) {
151151
throw new InvalidArgumentException(
152-
sprintf('Failed to encode export data to JSON for provider "%s" (ID: %d): %s', $providerKey, $id, $e->getMessage()),
152+
sprintf(
153+
'JSON encode failed for "%s" (ID: %d): %s',
154+
$providerKey,
155+
$id,
156+
$e->getMessage()
157+
),
153158
previous: $e
154159
);
155160
}

0 commit comments

Comments
 (0)