From 73c4bcdc7a9fbdd7732cd927cf3d8c82e3bef9e9 Mon Sep 17 00:00:00 2001 From: Matt Mullenweg Date: Mon, 22 Dec 2003 01:50:20 +0000 Subject: [PATCH] Better error reporting. git-svn-id: https://develop.svn.wordpress.org/trunk@635 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/wp-db.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wp-includes/wp-db.php b/wp-includes/wp-db.php index 30f17b870f..9fb35b39a5 100644 --- a/wp-includes/wp-db.php +++ b/wp-includes/wp-db.php @@ -98,7 +98,8 @@ // If there is an error then take note of it print "

SQL/DB Error:
- [$str]

+ [$str]
+ $this->last_query

"; } else