Reduced the level of push is disabled log message to debug instead of Error
This commit is contained in:
@@ -547,7 +547,7 @@ if (!function_exists('queuePush')) {
|
||||
$logger = Container::get(iLogger::class);
|
||||
|
||||
if (false === (bool)Config::get('push.enabled', false)) {
|
||||
$logger->error("Push is disabled. Unable to push '{via}: {entity}'.", [
|
||||
$logger->debug("Push is disabled. Unable to push '{via}: {entity}'.", [
|
||||
'via' => $entity->via,
|
||||
'entity' => $entity->getName()
|
||||
]);
|
||||
|
||||
@@ -145,7 +145,7 @@ final readonly class ProcessPushEvent
|
||||
'id' => $item->id,
|
||||
'via' => $item->via,
|
||||
'title' => $item->getName(),
|
||||
'state' => $item->isWatched() ? 'watched' : 'unwatched',
|
||||
'state' => $item->isWatched() ? 'played' : 'unplayed',
|
||||
]);
|
||||
|
||||
foreach ($this->queue->getQueue() as $response) {
|
||||
|
||||
Reference in New Issue
Block a user