[nodejs] Re: Reporting errors from node in a service

2012-02-02 Thread Chris Casey
Thanks for that. Am now successfully trapping the error and reporting it using err.stack then failing the process with process.exit on a settimeout. -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this m

[nodejs] Re: Reporting errors from node in a service

2012-02-02 Thread Chris Casey
On Wednesday, 1 February 2012 11:25:00 UTC, mscdex wrote: > > On Jan 31, 6:15 am, Chris Casey wrote: > > I have looked around the api documentation but found it difficult to > find > > understandable information on this. Is there more explanatory > documentation > > anywhere? > > This?: pr

[nodejs] Re: Reporting errors from node in a service

2012-02-01 Thread Chris Casey
Thanks, I will look at this. -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to nodejs@googleg

Re: [nodejs] Re: Reporting errors from node in a service

2012-02-01 Thread Chris Casey
Thanks Oliver, We will take a look at that again. We went for srvany originally because of the level of pain involved getting it past the windows server guys. This certainly looks like a more controlled solution. Chris -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.

Re: [nodejs] Re: Reporting errors from node in a service

2012-02-01 Thread Oliver Leics
Hallo Chris, try to replace srvany.exe with nssm.exe http://nssm.cc/ Greetings, Oliver On Wed, Feb 1, 2012 at 12:07 PM, rtweed wrote: > Just wondering if anyone had any thoughts or insight on Chris's > questions.  This is in relation to the hospital booking kiosks that he > posted about yester

[nodejs] Re: Reporting errors from node in a service

2012-02-01 Thread mscdex
On Jan 31, 6:15 am, Chris Casey wrote: > I have looked around the api documentation but found it difficult to find > understandable information on this. Is there more explanatory documentation > anywhere? This?: process.on('uncaughtException', function(err) { }); -- Job Board: http://jobs.nodej

[nodejs] Re: Reporting errors from node in a service

2012-02-01 Thread rtweed
Just wondering if anyone had any thoughts or insight on Chris's questions. This is in relation to the hospital booking kiosks that he posted about yesterday. I'd be particularly interested in your suggestions as I've been helping Chris on the Node.js side of things, and I'm keen that such a cool