// Module dependencies.
var debug = require('debug')('ruche:error');

/**
 * Handle errors
 * @param  {Error} error
 * @return {Error}
 */
var handle = function (err) {
  debug(err);
  process.exit(1)
  return err;
};

var exception = function () {
  process.on('uncaughtException', function (err) {
    handle(err);
  });
}

module.exports.handle = handle;
module.exports.exception = exception;

@@ -212,16 +212,137 @@
 rr;%0A%7D;%0A%0A
+/**%0A * The uncaughtException handler. Stops the process on Error%0A * @return %7BBoolean%7D Returns the status of the app.%0A */%0A
 var exce
@@ -437,10 +437,43 @@
 ;%0A  
-%7D)
+  return false;%0A  %7D);%0A  return true
 ;%0A%7D%0A

Add documentation to uncaughtException handler.