Hey. I have successfuly implemented an automatically updating nodejs web app. Now, I want to make sure it doesnt crash on minimal failures (when i derped in a function and tried to access a property with a simple typo). So I looked up what options I had:
- process' "uncaughtException" event - Domains In either case, I get the base idea of it. But what I dont get, is any information on the structure of an Error object. I also have another concern: When I want to restart my app, as it is described in the domains page int he docs, I know that require() caches scripts. How can I flatten this cache first? I looked into some nodejs modules, but I couldn't find a "really great" error handling module, that would tell me exactly whats up. Is there anything you guys could recommend? Kind regards, Ingwie -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md Old group rules: 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 unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/99ED748C-04E5-4A4D-A54B-2D1E3F9D3545%40googlemail.com. For more options, visit https://groups.google.com/d/optout.
