Commits

Tuukka Norri committed 4425a48

Clarified a log message

Comments (0)

Files changed (1)

Sources/BXDatabaseObject.m

 	{
 		enum BXDatabaseObjectKeyType keyType = [self keyType: aKey];
 		BXAssertLog (kBXDatabaseObjectUnknownKey != keyType, 
-					 @"Key %@ wasn't found in entity %@.", 
-					 aKey, [self entity]);
+					 @"Key %@ wasn't found in entity %@. (Called from an instance of %@.)", 
+					 aKey, [self entity], [self class]);
 		switch (keyType)
 		{
 			case kBXDatabaseObjectPrimaryKey: