You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$this->printInfo('Push notification sent but response was not parsable, using an outdated push proxy? [' . $proxyServer . ']: ' . $error);
574
+
$this->printInfo('<comment>Push notification sent but response was not parsable, using an outdated push proxy? [' . $proxyServer . ']: ' . $error . '</comment>');
572
575
$this->log->info('Push notification sent but response was not parsable, using an outdated push proxy? [{url}]: {error}', [
573
576
'error' => $error,
574
577
'url' => $proxyServer,
@@ -602,7 +605,7 @@ protected function validateToken(int $tokenId, int $maxAge): bool {
602
605
$this->cache->set('t' . $tokenId, $age, 600);
603
606
} catch (InvalidTokenException) {
604
607
// Token does not exist any more, should drop the push device entry
605
-
$this->printInfo('InvalidTokenException is thrown');
608
+
$this->printInfo('<error>InvalidTokenException is thrown</error>');
606
609
$this->deletePushToken($tokenId);
607
610
$this->cache->set('t' . $tokenId, 0, 600);
608
611
returnfalse;
@@ -614,7 +617,7 @@ protected function validateToken(int $tokenId, int $maxAge): bool {
614
617
returntrue;
615
618
}
616
619
617
-
$this->printInfo('Device token "last checked" is older than 60 days: ' . $age);
620
+
$this->printInfo('<comment>Device token "last checked" is older than 60 days: ' . $age . '</comment>');
618
621
returnfalse;
619
622
}
620
623
@@ -682,14 +685,14 @@ protected function encryptAndSign(Key $userKey, array $device, int $id, INotific
682
685
if (!openssl_public_encrypt(json_encode($data), $encryptedSubject, $device['devicepublickey'], OPENSSL_PKCS1_PADDING)) {
0 commit comments