Debug
This commit is contained in:
parent
c8e817a019
commit
cfc69b0f92
1 changed files with 18 additions and 9 deletions
|
@ -111,7 +111,8 @@ class Database extends Event
|
|||
|
||||
$client = new Client($this->queue, $this->connection);
|
||||
|
||||
return $client->enqueue([
|
||||
try {
|
||||
$result = $client->enqueue([
|
||||
'project' => $this->project,
|
||||
'user' => $this->user,
|
||||
'type' => $this->type,
|
||||
|
@ -120,5 +121,13 @@ class Database extends Event
|
|||
'database' => $this->database,
|
||||
'events' => Event::generateEvents($this->getEvent(), $this->getParams())
|
||||
]);
|
||||
\var_dump('Enqueued event');
|
||||
\var_dump($result);
|
||||
return $result;
|
||||
} catch (\Throwable $th) {
|
||||
\var_dump('Enqueue event failed');
|
||||
\var_dump($th);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue