Custom error handling

mod_harbour is an Apache module that allows to run PRGs directly on the web !!!

Custom error handling

Postby berpa » Wed Mar 08, 2023 11:07 am

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.
berpa
 
Posts: 16
Joined: Tue Nov 29, 2022 2:23 pm

Return to mod_harbour

Who is online

Users browsing this forum: No registered users and 6 guests