-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Allow disabling Sentry for specific functions by settings `sentry: false` in the `serverless.yml`. * Added support for the [Serverless Offline Plugin](https://github.com/dherault/serverless-offline).
- Loading branch information
Andre Rabold
committed
Jul 6, 2017
1 parent
62e4691
commit f4b160f
Showing
4 changed files
with
48 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -268,16 +268,17 @@ plugins: | |
custom: | ||
sentry: | ||
dsn: https://xxxx:[email protected]/zzzz # URL provided by Sentry | ||
organization: my-sentry-organziation | ||
project: my-sentry-project | ||
authToken: my-sentry-api-key | ||
release: git | ||
captureTimeoutWarnings: false # disable timeout warnings globally for all functions | ||
functions: | ||
HelloWorld: | ||
handler: hello.handler | ||
FuncFoo: | ||
handler: Foo.handler | ||
description: Hello World | ||
sentry: | ||
captureErrors: false # Disable error capturing for this specific function only | ||
captureTimeoutWarnings: true # Turn timeout warnings back on | ||
FuncBar: | ||
handler: Bar.handler | ||
sentry: false # completely turn off Sentry reporting | ||
``` | ||
|
||
|
||
|
@@ -327,9 +328,19 @@ the rest of your code. This is typically not what you want. Make sure to pass | |
in the Raven instance during initialization of the `RavenLambdaWrapper` as shown | ||
in the examples above. | ||
|
||
### Raven throws an uncaught error: Cannot read property 'user' of undefined | ||
Raven is not initialized properly. If you're running in a local environment try | ||
setting the `filterLocal` option to `false`. | ||
|
||
|
||
## Version History | ||
|
||
### 1.0.0-rc.3 | ||
|
||
* Allow disabling Sentry for specific functions by settings `sentry: false` in | ||
the `serverless.yml`. | ||
* Added support for the [Serverless Offline Plugin](https://github.com/dherault/serverless-offline). | ||
|
||
### 1.0.0-rc.2 | ||
|
||
* Fixed an issue with the plugin not being initialized properly when deploying | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters