CrabDude / trycatch

An asynchronous domain-based exception handler with long stack traces for node.js
MIT License
246 stars 17 forks source link

trycatch requires node 0.9 #31

Closed jpravetz closed 10 years ago

jpravetz commented 10 years ago

package.json says that trycatch requires node 0.8.14, however it appears that nodejs 0.9 is required because "In Node.js versions below 0.9, setImmediate is not available". There is a routine (line 25) of hookit that iterates over ['setTimeout', 'setInterval', 'setImmediate'], replacing these functions. This fails for setImmediate.

CrabDude commented 10 years ago

Good catch. This is actually a problem with hookit (which is still my bad) adding support for setImmediate in 0.0.3. I'll fix this right away.

CrabDude commented 10 years ago

Resolved b48b85858c43a361da54bfd5ff7e712c7ce3ecb2