diff --git a/src/DatabaseHandler.php b/src/DatabaseHandler.php index 02eaa30..a7465a7 100644 --- a/src/DatabaseHandler.php +++ b/src/DatabaseHandler.php @@ -78,16 +78,13 @@ protected function write(array $record) } } - try { - DB::connection($this->connection)->table($this->table)->insert([ - 'message' => $record['message'], - 'context' => $context, - 'level' => $record['level'], - 'channel' => $record['channel'], - 'created_at' => $record['datetime'], - 'extra' => serialize($record['extra']), - ]); - } catch (\Exception $e) { - } + DB::connection($this->connection)->table($this->table)->insert([ + 'message' => $record['message'], + 'context' => $context, + 'level' => $record['level'], + 'channel' => $record['channel'], + 'created_at' => $record['datetime'], + 'extra' => serialize($record['extra']), + ]); } }