Displaying 1 result from an estimated 1 matches for "cserviceerror".
Did you mean:
serviceerror
2005 May 16
0
Add backtrace info in win32-service
Hi all,
I think it would greatly aid service debugging if we added Ruby''s
backtrace information if a Service.start fails. This would be lines
1251-1255:
if(NULL == hSCService){
strcpy(error,ErrorDescription(GetLastError()));
CloseServiceHandle(hSCManager);
rb_raise(cServiceError,error);
}
I''m not sure exactly how to do it, though.
Or do you think it should just be left up to developers to wrap
Daemon.mainloop on their own?
Regards,
Dan