From 388a71f4bcb6d89bb0d39bfd3a637e69163fc9e1 Mon Sep 17 00:00:00 2001 From: rowanbeentje Date: Thu, 10 May 2012 22:32:20 +0000 Subject: - Fix a build warning caused by r3649 changes - Improve debug to catch a structure connection issue --- Frameworks/SPMySQLFramework/Source/SPMySQLConnection.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Frameworks') diff --git a/Frameworks/SPMySQLFramework/Source/SPMySQLConnection.m b/Frameworks/SPMySQLFramework/Source/SPMySQLConnection.m index f48bc2d3..64c19ae3 100644 --- a/Frameworks/SPMySQLFramework/Source/SPMySQLConnection.m +++ b/Frameworks/SPMySQLFramework/Source/SPMySQLConnection.m @@ -249,7 +249,7 @@ const char *SPMySQLSSLPermissibleCiphers = "DHE-RSA-AES256-SHA:AES256-SHA:DHE-RS // If a connection is already active in some form, throw an exception if (state != SPMySQLDisconnected && state != SPMySQLConnectionLostInBackground) { - [NSException raise:NSInternalInconsistencyException format:@"Attempted to connect a connection that is not disconnected."]; + [NSException raise:NSInternalInconsistencyException format:@"Attempted to connect a connection that is not disconnected (%d).", state]; return NO; } state = SPMySQLConnecting; -- cgit v1.2.3