Title: Regression: @sentry/astro stopped re-exporting captureException in 8.8.0 · Issue #12410 · getsentry/sentry-javascript · GitHub
Open Graph Title: Regression: @sentry/astro stopped re-exporting captureException in 8.8.0 · Issue #12410 · getsentry/sentry-javascript
X Title: Regression: @sentry/astro stopped re-exporting captureException in 8.8.0 · Issue #12410 · getsentry/sentry-javascript
Description: Is there an existing issue for this? I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues I have reviewed the documentation https://docs.sentry.io/ I am using the latest SDK release https://github.com/...
Open Graph Description: Is there an existing issue for this? I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues I have reviewed the documentation https://docs.sentry.io/ I am using th...
X Description: Is there an existing issue for this? I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues I have reviewed the documentation https://docs.sentry.io/ I am using th...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/12410
X: @github
Domain: github.com
IPv4 address: 140.82.113.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Regression: @sentry/astro stopped re-exporting captureException in 8.8.0","articleBody":"### Is there an existing issue for this?\r\n\r\n- [X] I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues\r\n- [X] I have reviewed the documentation https://docs.sentry.io/\r\n- [X] I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases\r\n\r\n### How do you use Sentry?\r\n\r\nSelf-hosted/on-premise\r\n\r\n### Which SDK are you using?\r\n\r\n@sentry/astro\r\n\r\n### SDK Version\r\n\r\n8.8.0\r\n\r\n### Framework Version\r\n\r\n4.10.0\r\n\r\n### Link to Sentry event\r\n\r\n_No response_\r\n\r\n### SDK Setup\r\n\r\n```js\r\n integrations: [\r\n sentry({\r\n enabled: { client: false, server: true },\r\n tracePropagationTargets: [],\r\n }),\r\n ],\r\n```\r\n\r\n\r\n### Steps to Reproduce\r\n\r\n1. Upgraded the SDK to the latest version to address #12059 and #12192 \r\n2. Tried accessing `captureException` in different ways:\r\n ```js\r\nimport { captureException } from '@sentry/astro';\r\nimport * as Sentry from '@sentry/astro';\r\n(await import('@sentry/astro')).captureException;\r\n```\r\n\r\n\r\n### Expected Result\r\n\r\n`captureException` should be available and usable, since the TypeScript types for the SDK mark it as present \r\n\r\n### Actual Result\r\n\r\nLogging `Sentry.captureException` prints `undefined`, the property is absent from `Sentry`, seems not to be properly re-exported, while many other members of `Sentry` are present. I can access `captureException` when importing it directly from `@sentry/node`. ","author":{"url":"https://github.com/arty-name","@type":"Person","name":"arty-name"},"datePublished":"2024-06-07T12:31:16Z","url":"https://github.com/getsentry/sentry-javascript/issues/12410"}
| 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:9bb8685f-66a5-ac02-a133-b6b51ec8bfbf |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D6E2:1D68C9:122033C:1803F5B:6B03CDF1 |
| html-safe-nonce | 300ee49e8e96cd72c7a5b3f60357990670182e1ae191c30741ca1c3c3ef98097 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENkUyOjFENjhDOToxMjIwMzNDOjE4MDNGNUI6NkIwM0NERjEiLCJ2aXNpdG9yX2lkIjoiNjkyNzY0MDc3NDAyMDY4MTIwMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | bacb20a92794a575a25442bd19b163d332208ebf9495fc94c13fef8c746b93a1 |
| hovercard-subject-tag | issue:2340343114 |
| 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/12410/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c6a904e23d68dafe2550dd3ee0b7362780dc7736c2871f7fc49ae4058a9598cd/getsentry/sentry-javascript/issues/12410 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c6a904e23d68dafe2550dd3ee0b7362780dc7736c2871f7fc49ae4058a9598cd/getsentry/sentry-javascript/issues/12410 |
| og:image:alt | Is there an existing issue for this? I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues I have reviewed the documentation https://docs.sentry.io/ I am using th... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | arty-name |
| 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