0.0.14 • Published 5 years ago

aws-lambda-node-sentry-wrapper v0.0.14

Weekly downloads
791
License
MIT
Repository
github
Last release
5 years ago

aws-lambda-node-sentry-wrapper

This package is a wrapper for Node 8 lambda functions on AWS.

It catches errors in Sentry and waits that the promise is resolved before returning. It avoids the process to be frozen by aws before the error is reported in Sentry.

Note:

https://itnext.io/step-by-step-building-and-publishing-an-npm-typescript-package-44fe7164964c

The DSN must be provided via process.env.SENTRY_DSN, for example using serverless env variables.

Usage

Given a function:

Customization

You can use the the Sentry instance (second argument of the handler) to customize your handler.

0.0.14

5 years ago

0.0.13

5 years ago

0.0.124

5 years ago

0.0.123

5 years ago

0.0.122

5 years ago

0.0.121

5 years ago

0.0.11

5 years ago

0.0.10

5 years ago

0.0.9

5 years ago

0.0.8

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.1

5 years ago