Icon Overlay OS X: Complain if icon couldnt be loaded

This commit is contained in:
Markus Goetz 2014-08-26 17:20:32 +02:00
parent 2356601bb3
commit 79b547b83b

View file

@ -71,6 +71,7 @@ static IconCache* sharedInstance = nil;
if (image == nil)
{
NSLog(@"%@ Could not load %@", NSStringFromSelector(_cmd), path);
return [NSNumber numberWithInt:-1];
}