mirror of https://github.com/lukechilds/node.git
Ryan Dahl
15 years ago
5 changed files with 10 additions and 24 deletions
@ -1,13 +0,0 @@ |
|||||
require('../common') |
|
||||
|
|
||||
process.addListener('uncaughtException', function (err) { |
|
||||
puts('Caught exception: ' + err); |
|
||||
}); |
|
||||
|
|
||||
setTimeout(function () { |
|
||||
puts('This will still run.'); |
|
||||
}, 500); |
|
||||
|
|
||||
// Intentionally cause an exception, but don't catch it.
|
|
||||
nonexistentFunc(); |
|
||||
puts('This will not run.'); |
|
Loading…
Reference in new issue