Search found 8 matches

by XanderH
Thu Mar 28, 2024 5:27 pm
Forum: madExcept
Topic: Using madExcept in Web CGI stand-alone executable
Replies: 12
Views: 7500

Re: Using madExcept in Web CGI stand-alone executable

Any thoughts on this madshi? Would be greatly appreciated!
by XanderH
Wed Mar 13, 2024 11:02 am
Forum: madExcept
Topic: Using madExcept in Web CGI stand-alone executable
Replies: 12
Views: 7500

Re: Using madExcept in Web CGI stand-alone executable

Sorry to bring back an old thread, but I'm still struggling to get this to work as expected! It seems that something about my previous solution didn't work and in the end I just added a Sleep(500) after calling madExcept.HandleException, which sometimes resulted in the email being sent. I've just be...
by XanderH
Thu May 21, 2020 10:56 am
Forum: madExcept
Topic: Using madExcept in Web CGI stand-alone executable
Replies: 12
Views: 7500

Re: Using madExcept in Web CGI stand-alone executable

The function only calls itself again if fWait is still true so it's not endless. Theoretically I think this code should be the same as the while loop I tried to use initially, but that does get stuck infinitely.
by XanderH
Wed May 20, 2020 4:22 pm
Forum: madExcept
Topic: Using madExcept in Web CGI stand-alone executable
Replies: 12
Views: 7500

Re: Using madExcept in Web CGI stand-alone executable

Seemed to just be my while loop not working as expected! Instead I wrote and call this procedure after calling HandleException, and now everything works as expected: procedure TPDWebModule.CheckForWait; begin if fWait then begin Sleep(20); CheckForWait; end; end; Still feels a bit wrong to have to u...
by XanderH
Wed May 20, 2020 3:55 pm
Forum: madExcept
Topic: Using madExcept in Web CGI stand-alone executable
Replies: 12
Views: 7500

Re: Using madExcept in Web CGI stand-alone executable

eaSendBugReport3 does seem to happen, but it still gets stuck forever...

Code: Select all

20-May-2020 16:52:55:697=eaSendBugReport
20-May-2020 16:52:55:713=eaSendBugReport3
20-May-2020 16:52:55:713=eaContinueApplication
20-May-2020 16:52:55:713=eaSaveBugReport
20-May-2020 16:52:55:713=eaSaveBugReport3
by XanderH
Wed May 20, 2020 3:32 pm
Forum: madExcept
Topic: Using madExcept in Web CGI stand-alone executable
Replies: 12
Views: 7500

Re: Using madExcept in Web CGI stand-alone executable

OK, I'm now trying to use RegisterExceptActionHandler() but it isn't behaving how I'd expect it to. In the BeforeDispatch of my TWebApplication I am running the following code: madExcept.RegisterExceptActionHandler(CheckMadexceptAction, stDontSync); madExcept.PauseMadExcept(True); where CheckMadexce...
by XanderH
Tue May 19, 2020 1:29 pm
Forum: madExcept
Topic: Using madExcept in Web CGI stand-alone executable
Replies: 12
Views: 7500

Re: Using madExcept in Web CGI stand-alone executable

Oh that's interesting, because AmOnline definitely seems to be false when an exception hasn't been raised, as normal requests definitely aren't taking 2 seconds longer to run.

Will take a look into those, thanks!
by XanderH
Tue May 19, 2020 8:33 am
Forum: madExcept
Topic: Using madExcept in Web CGI stand-alone executable
Replies: 12
Views: 7500

Using madExcept in Web CGI stand-alone executable

Hello, My company uses madExcept within our web applications and I've been having problems getting the exceptions emailed to us when used in a .exe web application. Our website uses both a .exe and an ISAPI .dll, and we've got the same madExcept settings setup in both. The .dll worked great with mad...