NSServices error parameter ignored?
NSServices error parameter ignored?
- Subject: NSServices error parameter ignored?
- From: Jim Turner <email@hidden>
- Date: Mon, 18 Jan 2010 10:52:16 -0600
I've created and am successfully calling a service in my application.
But when an error is encountered and I set an error string, it doesn't
seem to go anywhere. The docs say its supposed to be logged to the
console but I see nothing. Is this a bug or am I missing something? My
code:
-(void) myCoolService:(NSPasteboard *)pboard userData:(NSString *)data
error:(NSString **)error
{
if( <pboard contains cool things> )
{
<doing cool things>
}
else
{
if( error )
*error = [NSString stringWithString:@"This error never shows"];
}
}
Thanks
--
Jim
http://nukethemfromorbit.com
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden