sentry-lambda-handler
v0.0.8
Published
install: ``` yarn add sentry-lambda-handler npm install sentry-lambda-handler ```
Downloads
4
Readme
Sentry lambda handler
install:
yarn add sentry-lambda-handler
npm install sentry-lambda-handler
set sentry env varables:
SENTRY_DSN=...
SENTRY_LAMBDA_NAME=...
SENTRY_RELEASE=...
SENTRY_ENVIRONMENT=...
use handler in lambda:
import sentryHandler from "sentry-lambda-handler"
export const handler = sentryHandler((event) => {
//... lambda logic
})