Commits

Tuukka Norri committed 649078b

Added logging for problematic predicates

Comments (0)

Files changed (1)

Sources/BXPredicateVisitor.m

 			BXLogError (@"Unable to convert predicate: %@", [predicate predicateFormat]);
 			retval.p_where_clause = nil;
 		}
+		@catch (id e) 
+		{
+			BXLogError (@"Caught exception when handling predicate: %@", [predicate predicateFormat]);
+			@throw e;
+		}
 	}
 	else
 	{