google-code-export / nativeapplicationupdater

Automatically exported from code.google.com/p/nativeapplicationupdater
3 stars 1 forks source link

better exception handling #13

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
As I'm using the updater with externally configured update.xml url, I've found 
few handled errors.

1. Setting the URL to something fake like "http://google.com".
2. Opening a unrecognised downloaded file file with the default application.

I've attached a patch to the library project, that fixed the behaviour for me.
Hope it fits your views for the project.

Best regards,
Nikolay Manolov

Original issue reported on code.google.com by nikolay...@gmail.com on 21 Sep 2011 at 11:31

Attachments:

GoogleCodeExporter commented 9 years ago
Similar issue occurs when internet connection is down:
Error #2044: Unhandled updateError:. text=IO Error downloading update 
descriptor file: Error #2032: Stream Error.

Original comment by filipe.f...@gmail.com on 14 Aug 2012 at 10:05