NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: CaseyR on November 01, 2007, 09:15:10 AM
-
Hi,
I would like to record any file errors in a log file for support purposes. I know I can overide the standard MESSAGE behavour on the server using system{PROP:MessageHook} which would give me the errorcode() and error(). But how would I get the file name or the problem procedure from such an override?
This, of course, assumes there isn't a way to capture such file errors from within NetTalk already and I have just not recognized it.
Many thanks.
-
Hi Casey,
In the message procedure you can use
GlobalErrors.GetProcedureName()
to get the name of the procedure that triggered the error.
Typically a file message will include the name of the file.
Cheers
Bruce
-
Thanks, Bruce.