Handle build download errors in update checker. Fixes issue #2512.

This commit is contained in:
Ansgar Becker
2011-08-13 05:38:20 +00:00
parent cb8c233a10
commit e58d033342

View File

@ -235,6 +235,7 @@ begin
if FileExists(Download.Filename) then
DeleteFile(Download.Filename);
try
// Do the download
Download.ExecuteTarget(nil);
@ -265,6 +266,10 @@ begin
Stream.Free;
end;
end;
except
on E:Exception do
ErrorDialog(E.Message);
end;
end;