4
0
mirror of https://github.com/AzuraCast/AzuraCast.git synced 2024-06-18 23:17:05 +00:00

Switch task order.

This commit is contained in:
Buster "Silver Eagle" Neece 2022-03-15 01:54:00 -05:00
parent 7bf094ffac
commit e95915f82c
No known key found for this signature in database
GPG Key ID: 9FC8B9E008872109

View File

@ -62,19 +62,19 @@ class NowPlayingPerStationCommand extends CommandAbstract
$this->logger->info('Starting Now Playing sync task.');
try {
$this->nowPlayingTask->run($station);
$this->buildQueueTask->run($station);
} catch (\Throwable $e) {
$this->logger->error(
'Now Playing error: ' . $e->getMessage(),
'Queue builder error: ' . $e->getMessage(),
['exception' => $e]
);
}
try {
$this->buildQueueTask->run($station);
$this->nowPlayingTask->run($station);
} catch (\Throwable $e) {
$this->logger->error(
'Queue builder error: ' . $e->getMessage(),
'Now Playing error: ' . $e->getMessage(),
['exception' => $e]
);
}