On 29 November 2010 11:44, Mladen Turk <[email protected]> wrote:
> On 11/29/2010 12:12 PM, sebb wrote:
>>>
>>> +                apxLogWrite(APXLOG_MARK_ERROR "Pid file '%S' exists",
>>> +                            gPidfileName);
>>
>> Perhaps it would be worth calling GetLastError() and including the
>> value in the log message?
>>
>
> Right. I made sure that whenever there is GetLastError and
> this is ERROR we print the OS error description on the next line.
>

Excellent - that will help a lot if an error occurs.

>
> Regards
> --
> ^TM
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to