jkanschik / node-eip

Implementation of the Enterprise Integration Patterns (EIP) for node.js
5 stars 1 forks source link

Finalize error handling #15

Open jkanschik opened 12 years ago

jkanschik commented 12 years ago
  1. Catch all exceptions using process.on('uncaughtException') and derive the route and processor from stacktrace
  2. See also http://stackoverflow.com/questions/7310521/node-js-best-practice-exception-handling
  3. Change documentation accordingly.
jkanschik commented 12 years ago
  1. Done. route/processor can't be derived from stacktrace, simply not available. Exception is sent to "globalErrorRoute".