Title: Re-evaluate `safeJoin` usage and align console integration behaviour across SDKs · Issue #16664 · getsentry/sentry-javascript · GitHub
Open Graph Title: Re-evaluate `safeJoin` usage and align console integration behaviour across SDKs · Issue #16664 · getsentry/sentry-javascript
X Title: Re-evaluate `safeJoin` usage and align console integration behaviour across SDKs · Issue #16664 · getsentry/sentry-javascript
Description: Description In #16657 we got some user feedback that our consoleLoggingIntegration was sending logs with [Object Object] and [Array]. This was because of how we serialize with the safeJoin utility, since it uses String(value). sentry-jav...
Open Graph Description: Description In #16657 we got some user feedback that our consoleLoggingIntegration was sending logs with [Object Object] and [Array]. This was because of how we serialize with the safeJoin utility,...
X Description: Description In #16657 we got some user feedback that our consoleLoggingIntegration was sending logs with [Object Object] and [Array]. This was because of how we serialize with the safeJoin utility,...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/16664
X: @github
Domain: github.com
IPv4 address: 140.82.113.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Re-evaluate `safeJoin` usage and align console integration behaviour across SDKs","articleBody":"### Description\n\nIn #16657 we got some user feedback that our `consoleLoggingIntegration` was sending logs with `[Object Object]` and `[Array]`. This was because of how we serialize with the `safeJoin` utility, since it uses `String(value)`.\n\nhttps://github.com/getsentry/sentry-javascript/blob/b94f65279c8341a7176fe68186feef58af57e2cb/packages/core/src/utils/string.ts#L68-L94\n\nhttps://github.com/getsentry/sentry-javascript/blob/b94f65279c8341a7176fe68186feef58af57e2cb/packages/core/src/utils/string.ts#L86\n\nThis was fixed in https://github.com/getsentry/sentry-javascript/pull/16658 by removing the usage of the `safeJoin` utility.\n\nWe should re-evaluate `safeJoin` usage across the SDKs and see if we want to replace it with `JSON.stringify(normalize)` instead.","author":{"url":"https://github.com/AbhiPrasad","@type":"Person","name":"AbhiPrasad"},"datePublished":"2025-06-20T12:10:36Z","url":"https://github.com/getsentry/sentry-javascript/issues/16664"}
| 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:f62c50d3-7b5d-3c93-8fb3-c79b7a139b16 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BD94:35C921:21C9C9A:2E397E5:6B072DA3 |
| html-safe-nonce | cece86ee65c7dff784edfbee0bce11802936a03a87b95a8f8d63f55d477b3b84 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRDk0OjM1QzkyMToyMUM5QzlBOjJFMzk3RTU6NkIwNzJEQTMiLCJ2aXNpdG9yX2lkIjoiNjU5NDU0NzIzOTY2OTQxMTIzNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 5ae27090b5a278fff434a4439e2376cea75f5d5c3a409e62cdd19e33a3091884 |
| hovercard-subject-tag | issue:3163110268 |
| 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/16664/issue_layout |
| twitter:image | https://opengraph.githubassets.com/cb8aa98136ac5e3fe7b602e6e5a011bd7cb818b70c2dcc0c9060c201ef45d9b4/getsentry/sentry-javascript/issues/16664 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/cb8aa98136ac5e3fe7b602e6e5a011bd7cb818b70c2dcc0c9060c201ef45d9b4/getsentry/sentry-javascript/issues/16664 |
| og:image:alt | Description In #16657 we got some user feedback that our consoleLoggingIntegration was sending logs with [Object Object] and [Array]. This was because of how we serialize with the safeJoin utility,... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | AbhiPrasad |
| hostname | github.com |
| expected-hostname | github.com |
| None | d0534ce3ec0f37caea4f39713cbc8a6a509506c09c7ac30e8e3e2e15348bd9c1 |
| 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 | a73ca0a5164c4669446bdffe239b0d7542ad735e |
| 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