This commit is contained in:
2025-11-15 17:41:32 +03:30
parent a54345983d
commit 068b6037c7
3 changed files with 9 additions and 9 deletions

View File

@@ -25,10 +25,10 @@ class DailyMovingMachinesService
/**
* @throws Exception
*/
public function run(): Collection
public function run(): array
{
try {
return collect( $this->sendRequest());
return $this->sendRequest();
} catch (Exception $e) {
Log::channel($this->channelName)
->error(get_class($this),