Title: Cannot read property 'finish' of undefined · Issue #2984 · getsentry/sentry-javascript · GitHub
Open Graph Title: Cannot read property 'finish' of undefined · Issue #2984 · getsentry/sentry-javascript
X Title: Cannot read property 'finish' of undefined · Issue #2984 · getsentry/sentry-javascript
Description: @sentry/serverless": "^5.26.0 Version: 5.26.0 Description 0 Good afternoon, After new release: The sentry service works, But I'm getting this message in Amazon CloudWatch: ERROR Invoke Error { "errorType": "TypeError", "errorMessage": "C...
Open Graph Description: @sentry/serverless": "^5.26.0 Version: 5.26.0 Description 0 Good afternoon, After new release: The sentry service works, But I'm getting this message in Amazon CloudWatch: ERROR Invoke Error { "err...
X Description: @sentry/serverless": "^5.26.0 Version: 5.26.0 Description 0 Good afternoon, After new release: The sentry service works, But I'm getting this message in Amazon CloudWatch: ERROR Invok...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/2984
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":" Cannot read property 'finish' of undefined","articleBody":"\r\n- [x] `@sentry/serverless\": \"^5.26.0`\r\n\r\n### Version:\r\n\r\n```\r\n5.26.0\r\n```\r\n\r\n## Description\r\n\r\n0\r\n\r\n\r\nGood afternoon,\r\n\r\nAfter new release:\r\nThe sentry service works, But I'm getting this message in Amazon CloudWatch:\r\n\r\n```javascript\r\nERROR Invoke Error \r\n{\r\n \"errorType\": \"TypeError\",\r\n \"errorMessage\": \"Cannot read property 'finish' of undefined\",\r\n \"stack\": [\r\n \"TypeError: Cannot read property 'finish' of undefined\",\r\n \" at Runtime.eval [as handler] (webpack://rpc-analise-input/./node_modules/@sentry/serverless/esm/awslambda.js?:216:25)\",\r\n \" at processTicksAndRejections (internal/process/task_queues.js:97:5)\"\r\n ]\r\n}\r\n```\r\n\r\nSentry common file\r\n```javascript\r\nimport * as sentry from '@sentry/serverless';\r\n\r\nsentry.AWSLambda.init({dsn: 'https://somedsn',\r\n});\r\n\r\nexport default sentry;\r\n```\r\n\r\nLambda file\r\n```javascript\r\nimport sentry from '../common/sentry';\r\n\r\nconst handler = async (event) => {}\r\n\r\nexports.handler = sentry.AWSLambda.wrapHandler(handler);\r\n```\r\n\r\nError location\r\n```javascript\r\nconst transaction = startTransaction({\r\n name: context.functionName,\r\n op: 'awslambda.handler',\r\n });\r\n\r\nLine 170: transaction.finish();\r\n```\r\n\r\n","author":{"url":"https://github.com/felipedummer","@type":"Person","name":"felipedummer"},"datePublished":"2020-10-19T20:33:09Z","url":"https://github.com/getsentry/sentry-javascript/issues/2984"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:bd307a39-2055-918b-07f5-4478e084e9ad |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BED4:1F35:233E7B:316D22:6B0414AE |
| html-safe-nonce | 6486db0bf121bf599439bdb8dd84f42ea7fa84c26f6ce0247643b40e522bafe9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRUQ0OjFGMzU6MjMzRTdCOjMxNkQyMjo2QjA0MTRBRSIsInZpc2l0b3JfaWQiOiI4MzI5Mjk2MDMyNDQ2MDI2OTI2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 6cd4daf2abcf2f4828cedb72bdf63daed53ce06445361172c482f2af7951f7f5 |
| hovercard-subject-tag | issue:724954669 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-javascript/2984/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5110bde9dae003aa3e719918ed0c1c5c134c7d693bb0fa083f70180598b6f89f/getsentry/sentry-javascript/issues/2984 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5110bde9dae003aa3e719918ed0c1c5c134c7d693bb0fa083f70180598b6f89f/getsentry/sentry-javascript/issues/2984 |
| og:image:alt | @sentry/serverless": "^5.26.0 Version: 5.26.0 Description 0 Good afternoon, After new release: The sentry service works, But I'm getting this message in Amazon CloudWatch: ERROR Invoke Error { "err... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | felipedummer |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| go-import | github.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 3328572 |
| octolytics-dimension-repository_nwo | getsentry/sentry-javascript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3328572 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-javascript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width