raven
Advanced tools
Comparing version 0.4.1 to 0.4.2
@@ -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)); | ||
}); | ||
}); | ||
}; |
@@ -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>", |
Non-existent author
Supply chain riskThe package was published by an npm account that no longer exists.
Found 1 instance in 1 package
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
21377
10
424
1
139
0