protected function loadDump() { if (!$this->sql) { return; } try { $this->driver->load($this->sql); } catch (\PDOException $e) { throw new \Codeception\Exception\Module(__CLASS__, $e->getMessage()); } }
protected function loadDump() { if (!$this->sql) { return; } try { $this->driver->load($this->sql); } catch (\PDOException $e) { throw new ModuleException(__CLASS__, $e->getMessage() . "\nSQL query being executed: " . $this->driver->sqlToRun); } }