We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f75704f commit 6bdf3d8Copy full SHA for 6bdf3d8
src/Services/InfoProviderSystem/Providers/MouserProvider.php
@@ -205,7 +205,7 @@ private function responseToDTOArray(ResponseInterface $response): array
205
if (isset($arr['SearchResults'])) {
206
$products = $arr['SearchResults']['Parts'] ?? [];
207
} else {
208
- throw new \RuntimeException('Unknown response format');
+ throw new \RuntimeException('Unknown response format: ' .json_encode($arr, JSON_THROW_ON_ERROR));
209
}
210
211
$result = [];
0 commit comments