Fix warning message to correctly display path of resource that could not be found in the bundle.

This commit is contained in:
Jawwad Ahmad
2012-07-13 16:44:55 -04:00
parent b4bf671edd
commit 4c083a3462

View File

@@ -68,7 +68,7 @@
NSError *error = nil;
NSString *resourcePath = [self pathForResource:name ofType:extension];
if (! resourcePath) {
RKLogWarning(@"%@ Failed to locate Resource with name '%@' and extension '%@': File Not Found.", self, resourcePath, extension);
RKLogWarning(@"%@ Failed to locate Resource with name '%@' and extension '%@': File Not Found.", self, name, extension);
return nil;
}