Jacob Friis
Jacob Friis
@andreiborza This is my setup: ```TypeScript export function SentryStack({ app, stack }: StackContext) { const sentry = LayerVersion.fromLayerVersionArn( stack, "SentryLayer", `arn:aws:lambda:${app.region}:943013980633:layer:SentryNodeServerlessSDK:255`, ); stack.addDefaultFunctionLayers([sentry]); stack.addDefaultFunctionEnv({ SENTRY_DSN: process.env.SENTRY_DSN ?? "", SENTRY_TRACES_SAMPLE_RATE: "1.0",...
My challenge was with SST. Changing `stack.addDefaultFunctionLayers([sentryLayer]);` to `app.addDefaultFunctionLayers([sentryLayer]);` fixed it and I can now see the layer.
I can add that I thought the reason why I didn't see my test errors etc was caused by us being over our limit, but I don't see any dropped...
@lforst I tried this and still see nothing in Sentry. In the response I do see a Sentry id. ```TypeScript export const getAppVersionsController = async () => { const sentryId...
To make it work, I have to: ```TypeScript Sentry.init({ dsn: process.env.SENTRY_DSN, }); ``` and `Sentry.flush()` Is that how it is supposed to work @andreiborza
Same in act version 0.2.66