Commits

Tuukka Norri committed 7d257f4

Fixed an assertion

Comments (0)

Files changed (1)

Sources/BXPGTransactionHandler.m

 			@"SELECT null, l.* FROM baseten.lock_observe ($1) l";
 			
 			PGTSResultSet* res = [connection executeQuery: query parameters: oid];
-			ExpectL ([res querySucceeded]);
+			BXAssertLog ([res querySucceeded], @"Expected query to succeed but got error: %@", [res error]);
 			if ([res querySucceeded] && 3 == [res count])
 			{
 				[res advanceRow];