pas2js: show error when downloading

This commit is contained in:
mattias 2024-04-05 21:04:08 +02:00
parent d7e2935f3f
commit a64088aefb

View File

@ -526,6 +526,7 @@ begin
if FDownloadReleaseThread.ErrorMsg<>'' then
begin
Pas2jsProgressDialog.ModalResult:=mrCancel;
DetailsMemo.Lines.Add('Error: '+FDownloadReleaseThread.ErrorMsg);
IDEMessageDialog('Error','Download error:'+sLineBreak+FDownloadReleaseThread.ErrorMsg,mtError,[mbOk]);
end else begin
Pas2jsProgressDialog.ModalResult:=mrOk;