diff --git a/src/Drivers/ElasticSearch.php b/src/Drivers/ElasticSearch.php index 0c47290..c8dfcc6 100644 --- a/src/Drivers/ElasticSearch.php +++ b/src/Drivers/ElasticSearch.php @@ -150,7 +150,9 @@ public function indexAuditDocument($model) 'body' => $model ]; - return $this->client->index($params); + try { + return $this->client->index($params); + } catch (\Exception $e) {} } public function searchAuditDocument($model)