Comparing version 0.1.1 to 0.1.2
@@ -57,3 +57,3 @@ trace = require('tracejs').trace; | ||
errorClass: "Error", | ||
message: stacktrace.first_line.substr(7), | ||
message: stacktrace.first_line, | ||
stacktrace: [] | ||
@@ -104,2 +104,4 @@ }] | ||
exports.register = function(apiKey, options) { | ||
options = (options === undefined ? {} : options) | ||
Error.stackTraceLimit = Infinity; | ||
@@ -106,0 +108,0 @@ defaultErrorHash.apiKey = apiKey; |
{ | ||
"name": "bugsnag", | ||
"description": "Bugsnag notifier for node.js scripts", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"main": "./bugsnag.js", | ||
@@ -6,0 +6,0 @@ "homepage": "http://bugsnag.com", |
4518
123