mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-04-24 04:46:01 +08:00
Fix warning message to correctly display path of resource that could not be found in the bundle.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user