Requests | Blesta

Requests

PDOStatement error reporting

Mohamed Anouar Achoukhy shared this idea 6 years ago
Under Consideration

Blesta actually in thier Record and PDO class doesn't report the error returned by the mysql and pdostatement . normally it show a success message of adding data even if is not added, blesta didn't do any analyse for PDOStatement to check if it have any error or not . we have faced this issue with the dates in the previos , now we have faced this with other cases, and we need every time to analyse the PDOStatement error returned by Mysql/mrdiadb .

i prefer see a better handling of error reporting that are returned , and blesta finnaly should have the ability to return the error returned by the mysql server if exist .