7 sep 2012 kl. 13:45 skrev Alex Balashov <abalashov(a)evaristesys.com>om>:
On 09/07/2012 07:28 AM, Olle E. Johansson wrote:
So if I get an error and use sl_reply_error - how
can I log the error
code sent? Is it possible to reach it?
The fact that it's SL would seem to preclude that. However, in most cases, can't
you figure out the error from the return value of whatever you called prior to
sl_reply_error(), and whose negative result triggered the conditional logic to call
sl_reply_error()?
sl_reply_error use an error code that I vaguely remembered was available as a
pseudovariable, but that seems to be gone. So unless I have to guess by following my logic
- is there a more exact way. I mean, if t_relay fails - who is suggesting an error code?
/O