Node.js

Exceptional for your node.js app

  1. Download exceptional-node and add to your node project

  2. Install the exceptional module in your node.js application
    var Exceptional = require(./'exceptional');
    Exceptional.API_KEY = **YOUR-API-KEY**

  3. Integrate with your node.js app
    To catch all uncaught exceptions

     process.addListener('uncaughtException', function(err) {
     Exceptional.handle(err);
     });
    

    To manually handle errors

     try {
    
     // Your Code
    
     } catch(error) {
       // Your own error processing
       Exceptional.handle(error);
     }
    

    You will find your API_KEY key in the apps settings screen in Exceptional.