Logging Application Errors
Publicado: Lun May 28, 2007 2:39 pm
Howdy
I have been reading the help and examining the sources and I'm trying to
work out how to make my application throw an error, write to the error.log
and then display the error form. (Just like when Xailer/Xharbour does
I have managed to throw an error and get the error form to appear, the
problem is the log isn't written, so I end up displaying whatever error
happened in my code, not the error I threw.
I have read the sources for errorsys.prg. They look like I can throw an
error, then pass the error object to the errorsys.
Can someone provide some guidance? I'm a bit lost
Nick
I have been reading the help and examining the sources and I'm trying to
work out how to make my application throw an error, write to the error.log
and then display the error form. (Just like when Xailer/Xharbour does
I have managed to throw an error and get the error form to appear, the
problem is the log isn't written, so I end up displaying whatever error
happened in my code, not the error I threw.
I have read the sources for errorsys.prg. They look like I can throw an
error, then pass the error object to the errorsys.
Can someone provide some guidance? I'm a bit lost
Nick