Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

connect-airbrake

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

connect-airbrake

airbrake app middleware for Connect

  • 0.2.0
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Connect Airbrake

Connect Airbrake is a middleware module for quickly setting up automatic Airbrake app error reporting for your web application.

Installation

via npm

npm install connect-airbrake

Example

var Airbrake = require('connect-airbrake');
var server = connect.createServer(
	Airbrake({ api_key: "" }),
);

That's it! It should report any exceptions/errors to Airbrake. You can pass in an additional option so that the errors are also logged to stdout:

var Airbrake = require('connect-airbrake');
var server = connect.createServer(
	Airbrake({ api_key: "", verbose: true}),
);

TODO:

  • Unit tests

FAQs

Package last updated on 03 Sep 2011

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc