Compare commits

...
Author SHA1 Message Date
Chirag Aggarwal 85c48fc5d1 debug: stats usage 2025-11-06 22:15:40 +05:30
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -57,7 +57,7 @@
"utopia-php/emails": "0.6.*",
"utopia-php/dns": "1.1.*",
"utopia-php/dsn": "0.2.1",
"utopia-php/framework": "0.33.*",
"utopia-php/framework": "dev-fix-nullable-check as 0.33.28",
"utopia-php/fetch": "0.4.*",
"utopia-php/image": "0.8.*",
"utopia-php/locale": "0.8.*",
@@ -138,6 +138,7 @@ class StatsUsage extends Action
$this->getLogsDB = $getLogsDB;
$this->register = $register;
$payload = $message->getPayload() ?? [];
Console::log('Payload: ' . json_encode($payload));
if (empty($payload)) {
throw new Exception('Missing payload');
}