Skip to content

Commit

Permalink
Do not throw WeatherException for rejected responses from weatherkit
Browse files Browse the repository at this point in the history
  • Loading branch information
mikkp17 committed Jan 15, 2024
1 parent 32fa5d5 commit ed4881c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Providers/Provider.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ protected function processRequests(): void
'concurrency' => $this->threads,
'fulfilled' => function ($profile) {},
'rejected' => function ($reason) {
throw WeatherException::communicationError($reason);
//throw WeatherException::communicationError($reason);
}
]);
$eachPromise->promise()->wait();
Expand Down

0 comments on commit ed4881c

Please sign in to comment.