diff --git a/src/Extractor/PdoExtractor.php b/src/Extractor/PdoExtractor.php index d0b5f91..ea2c314 100644 --- a/src/Extractor/PdoExtractor.php +++ b/src/Extractor/PdoExtractor.php @@ -28,7 +28,7 @@ public function init() $res = $this->stmt->execute(); if (!$res) { $arr = $this->stmt->errorInfo(); - throw new RuntimeException($arr[2] . "\n" . $sql); + throw new RuntimeException($arr[2] . "\n" . $this->sql); } }