Delphi 11.3 RegisterExceptionHandler query.

contains all delphi packages mentioned below
Post Reply
pb4InfoCentral
Posts: 2
Joined: Mon Jul 17, 2023 5:51 am

Delphi 11.3 RegisterExceptionHandler query.

Post by pb4InfoCentral »

We have an exception handler that works fine in Delphi 2007 with MadExcept 3.01 but the UploadViaHttp option is not recognised in Delphi 11.3 with MadExcept 4.0.21 installed from the latest MadCollection 2.8.12 . Any suggestions?

The following the the code in the Initialization area in the ExceptionHandler from Delphi 2007 that is running in Delphi 11.3 - UploadViaHttp option is not recognised:

initialization
begin
madExcept.RegisterExceptionHandler(CustomExceptionInfoRenderer,stDontSync,epMainPhase);
MESettings.UploadViaHttp := True; <<<<< is not recognised.<<<<<<<<<<
TibExceptionHelper.SetHttpUploadUrlToProd;
MESettings.AutoSend := True;
MESettings.BugReportZip := '';
MESettings.AutoSave := False;
// ibDBEdit raises 'EDBEditError' exception when an invalid date/time is entered.
// We don't want to be notified about this particular exception. Ideally
// the component should handle this without throwing an exception (e.g. just
// show the edit field in red).
MESettings.Filter1Classes := 'EDBEditError';
MESettings.Filter1NoBugReport := True;
MESettings.Filter1NoScreenShot := True;
MEsettings.Filter1NoSuspend := False;
MESettings.Filter1ShowSetting := ssSimpleBox;
MESettings.ScreenShotAppOnly := True;
MESettings.TitleBar := 'InfoCentral - %APPNAME%';
MESettings.SendBtnVisible := False;
MESettings.SaveBtnVisible := False;
MESettings.ShowBtnVisible := False;
AdditionalFields := TStringList.Create;
DeleteFile('BugReport.txt');
end;

Thanks.
madshi
Site Admin
Posts: 10766
Joined: Sun Mar 21, 2004 5:25 pm

Re: Delphi 11.3 RegisterExceptionHandler query.

Post by madshi »

This was renamed to "UploadToCustomScript" because madExcept can now also upload to Mantis, BugZilla and FogBugz, which are all also sort of "Http".
pb4InfoCentral
Posts: 2
Joined: Mon Jul 17, 2023 5:51 am

Re: Delphi 11.3 RegisterExceptionHandler query.

Post by pb4InfoCentral »

Ok - thanks - all working again.
Post Reply