Page 1 of 1

Custom error handling

PostPosted: Wed Mar 08, 2023 11:07 am
by berpa
Hello everyone,

I need to write server errors (e.g. alias not valid, variable does not exist, unknown or unregistered symbol, etc.) in a log file for subsequent analyses.

I tried to override ERRORSYS procedure or to define a custom ERRORBLOCK but in both way I was not able to obtain the log file.

Could someone point out what is the correct way to create custom error handling in mod_harbour to achieve a server side logging of that kind of errors?

Thanks in advance.