Backtrace provides an open-source module which you can use to capture uncaught Javascript errors within Node.js, as well as to manually send reports.


backtrace-node is available as an npm package with the same name or from  

Example Usage

var bt = require('backtrace-node');
  endpoint: "",
  token: "51cc8e69c5b62fa8c72dc963e730f1e8eacbd243aeafc35d08d05ded9a024121",

// ... Error("something broke"));


For more advanced usage or to learn more about backtrace-node, see the official package documentation at 

Did this answer your question?