Socket
Socket
Sign inDemoInstall

raven

Package Overview
Dependencies
1
Maintainers
1
Versions
70
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.4.1 to 0.4.2

README.md

11

lib/client.js

@@ -104,2 +104,11 @@ var parsers = require('./parsers'),

_.captureException = function captureError(err, kwargs, cb) {
if(!(err instanceof Error)) {
// This handles when someone does:
// throw "something awesome";
// We just send the "Error" as a normal message
// since there is no way to compute a stack trace
// See: https://github.com/mattrobenolt/raven-node/issues/18
return this.captureMessage('Error: ' + err, kwargs, cb);
}
var self = this;

@@ -139,5 +148,5 @@ if(!cb && typeof kwargs === 'function') {

client.captureError(err, function(result) {
node_util.log('uncaughtException: '+client.get_ident(result));
node_util.log('uncaughtException: '+client.getIdent(result));
});
});
};

2

package.json

@@ -5,3 +5,3 @@ {

"keywords": ["raven", "sentry", "python"],
"version": "0.4.1",
"version": "0.4.2",
"repository": "git://github.com/mattrobenolt/raven-node.git",

@@ -8,0 +8,0 @@ "author": "Matt Robenolt <matt@ydekproductions.com>",

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc