summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjayc89 <jamie-cressey@live.co.uk>2014-10-07 15:35:55 +0100
committerjayc89 <jamie-cressey@live.co.uk>2014-10-07 15:35:55 +0100
commitde494d62bf7ab4cf82c4e886b185d713e1a60ec4 (patch)
tree5aec53ce3216e677168f3f3e160c53c49fcef39f
parent418f88a740300ce1bae5972bdca1cbf46c8cb464 (diff)
downloadphp-mysql-pdo-database-class-de494d62bf7ab4cf82c4e886b185d713e1a60ec4.zip
php-mysql-pdo-database-class-de494d62bf7ab4cf82c4e886b185d713e1a60ec4.tar.gz
php-mysql-pdo-database-class-de494d62bf7ab4cf82c4e886b185d713e1a60ec4.tar.bz2
Update Db.class.php
Dont print our exception from here
-rw-r--r--Db.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Db.class.php b/Db.class.php
index af51ed4..ddab188 100644
--- a/Db.class.php
+++ b/Db.class.php
@@ -122,7 +122,7 @@ class DB
catch(PDOException $e)
{
# Write into log and display Exception
- echo $this->ExceptionLog($e->getMessage(), $query );
+ $this->ExceptionLog($e->getMessage(), $query );
throw new Exception($e->getMessage());
}