Hacker News new | ask | show | jobs
by benatkin 4927 days ago
There seems to be an error in the final code snippet. Instead of d.intercept it should be mainDomain.intercept. Here's the original example: http://nodejs.org/api/domain.html#domain_example_1
1 comments

Apologies for that, I've updated the example. Thanks for pointing it out.