Comparing version 0.5.2 to 0.5.3
@@ -5,3 +5,3 @@ { | ||
"keywords": ["raven", "sentry", "python"], | ||
"version": "0.5.2", | ||
"version": "0.5.3", | ||
"repository": "git://github.com/mattrobenolt/raven-node.git", | ||
@@ -19,3 +19,3 @@ "author": "Matt Robenolt <matt@ydekproductions.com>", | ||
"node-uuid": "1.4.0", | ||
"raw-stacktrace": "0.0.2" | ||
"raw-stacktrace": "1.0.0" | ||
}, | ||
@@ -22,0 +22,0 @@ "devDependencies": { |
@@ -162,3 +162,21 @@ # Raven [![Build Status](https://secure.travis-ci.org/mattrobenolt/raven-node.png?branch=master)](http://travis-ci.org/mattrobenolt/raven-node) | ||
## Coffeescript | ||
In order to use raven-node with coffee-script or another library which overwrites | ||
Error.prepareStackTrace you might run into the exception "Traceback does not support Error.prepareStackTrace being defined already." | ||
In order to not have raven-node (and the underlying raw-stacktrace library) require | ||
Traceback you can pass your own stackFunction in the options. For example: | ||
```javascript | ||
var client = new raven.Client('{{ SENTRY_DSN }}', { stackFunction: {{ Your stack function }}}); | ||
``` | ||
So for example: | ||
```javascript | ||
var client = new raven.Client('{{ SENTRY_DSN }}', { | ||
stackFunction: Error.prepareStackTrace | ||
}); | ||
``` | ||
## Support | ||
You can find me on IRC. I troll in `#sentry` on `freenode`. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
24517
182
+ Addedraw-stacktrace@1.0.0(transitive)
- Removedraw-stacktrace@0.0.2(transitive)
Updatedraw-stacktrace@1.0.0