diff --git a/src/Appwrite/Mqtt/Handler.php b/src/Appwrite/Mqtt/Handler.php index 5cc162da25..6d3fad0fa5 100644 --- a/src/Appwrite/Mqtt/Handler.php +++ b/src/Appwrite/Mqtt/Handler.php @@ -166,7 +166,7 @@ class Handler implements MqttHandler $grantedTopics[$filter->topic] = [$document, $grantedQos]; } - \Utopia\CLI\Console::error('MQTT_SUB_DBG prefix=' . $connection->prefix + \Utopia\Console::error('MQTT_SUB_DBG prefix=' . $connection->prefix . ' uid=' . ($identity['userId'] ?? '(none)') . ' roles=' . \json_encode($roles) . ' filters=' . \json_encode(\array_map(fn ($f) => [$f->topic, $f->qos], $subscribe->filters()))