New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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 - npm Package Compare versions

Comparing version 0.1.0 to 0.2.0

2

lib/connect-airbrake.js

@@ -66,3 +66,3 @@ /*!

Logger = function(verbose){
if (verbose != null){
if (verbose == true){
return function(msg){

@@ -69,0 +69,0 @@ console.log(msg);

{
"name": "connect-airbrake",
"description": "airbrake app middleware for Connect",
"version": "0.1.0",
"version": "0.2.0",
"author": "Van Nguyen <thegoleffect@gmail.com>",

@@ -6,0 +6,0 @@ "dependencies": { "airbrake": ">= 0.2.1" },

@@ -17,2 +17,13 @@

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
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