Skip to content
Browse files

don't catch uncaught by default

  • Loading branch information...
1 parent 74c1eff commit b0b22466523e997695aae25523754286f87a1b55 @cadorn cadorn committed Nov 6, 2012
Showing with 0 additions and 7 deletions.
  1. +0 −7 lib/loader.js
View
7 lib/loader.js
@@ -17,13 +17,6 @@ var VM = require("vm"),
HTTPS = require("https");
-// TODO: Only enable this in debug mode.
-process.on("uncaughtException", function (err)
-{
- // NOTE: `err.stack` seems to be useless here.
- console.error("Uncaught exception: " + err);
-});
-
exports.getReport = LOADER.require.getReport;
exports.sandbox = function(sandboxIdentifier, loadedCallback, sandboxOptions)

0 comments on commit b0b2246

Please sign in to comment.
Something went wrong with that request. Please try again.