Hi!
During the development of error handling mechanism (in webspeed), I met the following issue.
By default, when error occurs, webspeed writes (error message + procedure and line where error appeared) to the agent server.log.
I'm using global CATCH statement + BLOCK-LEVEL ON ERROR UNDO, THROW, to catch all errors occured in application. In this case, errors won't be automatically written to log. I can manually write error messages to log, using getMessage() method of SysError class, it's not a problem But how I could write procedure and line where error appeared ?
I tried with callStack attribute, but I don't want use it because of following reasons:
1) Progress doesn't recomend this option, because it requires additional overhead.
2) I don't need the full call stack, just concrete place where error appeared.
Is there any other possibilities to to deal with this issue ?
Thank you in advance,
Alex
During the development of error handling mechanism (in webspeed), I met the following issue.
By default, when error occurs, webspeed writes (error message + procedure and line where error appeared) to the agent server.log.
I'm using global CATCH statement + BLOCK-LEVEL ON ERROR UNDO, THROW, to catch all errors occured in application. In this case, errors won't be automatically written to log. I can manually write error messages to log, using getMessage() method of SysError class, it's not a problem But how I could write procedure and line where error appeared ?
I tried with callStack attribute, but I don't want use it because of following reasons:
1) Progress doesn't recomend this option, because it requires additional overhead.
2) I don't need the full call stack, just concrete place where error appeared.
Is there any other possibilities to to deal with this issue ?
Thank you in advance,
Alex