Re: ON ERR CALL

2023-08-16 Thread stardata.info via 4D_Tech
Solved sorry! Thanks Ferdinando Il 16/08/2023 18:19, stardata.info ha scritto: Sorry i pass the array in GET LAST ERROR STACK command, but i cannot receive the method name Thanks Ferdinando Il 16/08/2023 17:58, lists ha scritto: Look at the GET LAST ERROR STACK command. Also, these variab

Re: ON ERR CALL

2023-08-16 Thread stardata.info via 4D_Tech
Sorry i pass the array in GET LAST ERROR STACK command, but i cannot receive the method name Thanks Ferdinando Il 16/08/2023 17:58, lists ha scritto: Look at the GET LAST ERROR STACK command. Also, these variables will give you that information also: Error (#) Error method Error Line Cheers

Re: ON ERR CALL

2023-08-16 Thread stardata.info via 4D_Tech
Thanks Ferdinando Il 16/08/2023 17:58, lists ha scritto: Look at the GET LAST ERROR STACK command. Also, these variables will give you that information also: Error (#) Error method Error Line Cheers, -Original Message- From: 4D_Tech<4d_tech-boun...@lists.4d.com> On Behalf Of stard

RE: ON ERR CALL

2023-08-16 Thread lists via 4D_Tech
Look at the GET LAST ERROR STACK command. Also, these variables will give you that information also: Error (#) Error method Error Line Cheers, -Original Message- From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of stardata.info via 4D_Tech Sent: Wednesday, August 16, 2023 10:07

Re: ON ERR CALL: Comments & Seeking Comments

2017-05-15 Thread Sannyasin Siddhanathaswami via 4D_Tech
Great tip! I’ll check it out for sure. Sannyasin Siddhanathaswami On May 14, 2017, 7:07 PM -1000, wrote: Seriously though, if you want a chance to develop more consistent and coherent code, you can't doo better than to read (or re-read) "Code Complete." (There's a second edition now, for those t

Re: ON ERR CALL: Comments & Seeking Comments

2017-05-14 Thread David Adams via 4D_Tech
> For generic/lazy error testing (especially for Web Server items), I’ve been > logging the On Err Calls: > > LOG EVENT(Into 4D debug message;Error method+" Error Number: > "+String(Error)+"; Line:"+String(Error line)) > > This is interesting as it shows in the Console.app on a Mac (in the > system

Re: ON ERR CALL: Comments & Seeking Comments

2017-05-14 Thread Sannyasin Siddhanathaswami via 4D_Tech
Thanks for this! Very helpful! I’ve started to use it more and more nowadays. I’m really curious how errors in 4D process tags are handled (especially in v16). I’m having a tough time debugging these tags through the 4D Web Server in v15. More testing needed as I didn’t realize you could use "Er