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:
parent
7bf094ffac
commit
e95915f82c
|
@ -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]
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user