diff --git a/extdbms/lib/Core/Model.php b/extdbms/lib/Core/Model.php
index 2ad8d7b..a1ace1c 100644
--- a/extdbms/lib/Core/Model.php
+++ b/extdbms/lib/Core/Model.php
@@ -119,20 +119,16 @@ abstract class Model
final public function execute(string $query): bool|PDOStatement
{
- try {
- if ($this->_debug) {
- echo "\n
Query:" . $query . "\n
";
- }
- $this->_lastQuery = $query;
- $stmt = $this->getConnect()->prepare($query);
- $stmt->execute();
- if ($this->_reset) {
- $this->reset();
- }
- return $stmt;
- } catch (\Exception $e) {
- die($e->getMessage());
+ if ($this->_debug) {
+ echo "\n
Query:" . $query . "\n
";
}
+ $this->_lastQuery = $query;
+ $stmt = $this->getConnect()->prepare($query);
+ $stmt->execute();
+ if ($this->_reset) {
+ $this->reset();
+ }
+ return $stmt;
}
//CURD문