Add debug info for mqtt client #133
This commit is contained in:
parent
6b40b456fb
commit
352ca77130
1 changed files with 3 additions and 0 deletions
|
|
@ -29,6 +29,9 @@ class MQTTClient
|
|||
|
||||
public function sendEvent(JobOrder $job_order, $payload)
|
||||
{
|
||||
error_log('sending mqtt event: ');
|
||||
error_log(print_r($payload, true));
|
||||
|
||||
$sessions = $job_order->getCustomer()->getMobileSessions();
|
||||
if (count($sessions) == 0)
|
||||
return;
|
||||
|
|
|
|||
Loading…
Reference in a new issue