Custom error handling

mod_harbour is an Apache module that allows to run PRGs directly on the web !!!
Post Reply
berpa
Posts: 16
Joined: Tue Nov 29, 2022 2:23 pm

Custom error handling

Post 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.
Post Reply