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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to