Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
benatkin
· 13y ago · 0 comments
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
Comments
[–]
beastmcbeast
13y ago
Apologies for that, I've updated the example. Thanks for pointing it out.