Compare commits

..

No commits in common. "6ced576b2f2d5cf0adcdd8b48f576bde4bd1d745" and "2411a83d5d9ea300fbafb3221623f8dc620043ce" have entirely different histories.

View File

@ -67,8 +67,7 @@ class MySQLiConnector extends DBConnector
try { try {
$success = $statement->prepare($sql); $success = $statement->prepare($sql);
} catch (mysqli_sql_exception $e) { } catch (mysqli_sql_exception $e) {
$success = false; throw new DatabaseException($e->getMessage());
$this->databaseError($e->getMessage(), E_USER_ERROR, $sql);
} }
return $statement; return $statement;
} }