[Sparkle] RSSDownloadFailed Exception Catching?

Adhamh Findlay adhamh at mac.com
Tue Mar 4 18:05:34 PST 2008


Andy,

That's not what I am seeing.  I'm not initiating a check, just  
starting up my app with my AirPort connection off.

All I want to do is catch the exception so I don't report it in log  
files.

On Mar 4, 2008, at 6:59 PM, Andy Matuschak wrote:

> Sparkle only complains to the user about the network being down when  
> the user actually initiates the check—that is, the user performed  
> some action in the interface that resulted in the update check being  
> initiated. So it makes sense that the user should be given some kind  
> of feedback when the network is down. Are you just wanting to change  
> the text of the dialog?
>
> - Andy Matuschak
>
> On Feb 29, 2008, at 9:06 AM, Adhamh Findlay wrote:
>
>> Hello,
>>
>> My app is using sparkle.  When I turn off my network connections,  
>> sparkle throws an RSSDownloadException when my app starts up.  I'd  
>> like to catch this exception instead of just ignoring it.
>>
>> Right now I've got a menu item to check for updates that is bound  
>> to this method:
>>
>> - (IBAction) checkForSoftwareUpdates: (id) sender;
>> {
>> 	// check network status, if okay proceed.
>> 	if ( [monitorNetwork isNetworkActive] == NO ) {
>> 		[monitorNetwork displayNetworkDownSheetForWindow: [self window]];
>> 	} else {
>> 		SUUpdater *updater = [[[SUUpdater alloc] init] autorelease];
>> 		[updater checkForUpdates: sender];
>> 	}
>> }
>>
>> However, the exception happens before this method is invoked, so I  
>> can't catch it here.
>>
>> Can someone tell me where I should catch this exception or how I  
>> can otherwise prevent it from getting logged?
>>
>> Thanks,
>>
>> Adhamh
>>
>>
>>
>> _______________________________________________
>> Sparkle mailing list
>> Sparkle at lists.andymatuschak.org
>> http://lists.andymatuschak.org/listinfo.cgi/sparkle-andymatuschak.org
>
> _______________________________________________
> Sparkle mailing list
> Sparkle at lists.andymatuschak.org
> http://lists.andymatuschak.org/listinfo.cgi/sparkle-andymatuschak.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.andymatuschak.org/pipermail/sparkle-andymatuschak.org/attachments/20080304/583ae799/attachment.htm 


More information about the Sparkle mailing list