Title: Misleading source of exception (raven.js) · Issue #227 · getsentry/sentry-javascript · GitHub
Open Graph Title: Misleading source of exception (raven.js) · Issue #227 · getsentry/sentry-javascript
X Title: Misleading source of exception (raven.js) · Issue #227 · getsentry/sentry-javascript
Description: With any applied plugin the source of top stack frame exception is code from raven.js: try { /*jshint -W040*/ return func.apply(this, args); } catch(e) { Raven.captureException(e, options); throw e; // <-- source of exception } Example o...
Open Graph Description: With any applied plugin the source of top stack frame exception is code from raven.js: try { /*jshint -W040*/ return func.apply(this, args); } catch(e) { Raven.captureException(e, options); throw e...
X Description: With any applied plugin the source of top stack frame exception is code from raven.js: try { /*jshint -W040*/ return func.apply(this, args); } catch(e) { Raven.captureException(e, options); throw e...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/227
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Misleading source of exception (raven.js)","articleBody":"With any applied plugin the source of top stack frame exception is code from raven.js:\n\n``` javascript\n try {\n /*jshint -W040*/\n return func.apply(this, args);\n } catch(e) {\n Raven.captureException(e, options);\n throw e; // \u003c-- source of exception\n }\n```\n\nExample of stacktrace:\n\n```\n/static/libs/raven/raven.js ? in ? at line 1270\n/static/bookmarks.js ? in Backbone.Model.extend.initialize at line 158:13\n/static/libs/backbone-1.1.0.js ? in Backbone.Model at line 256:21\n/static/bookmarks.js ? in ? at line 146:19\n/ ? in requireDep at line 37:60\n/ ? in initWidgets at line 53:42\n/ ? in HTMLDocument.\u003canonymous> at line 402:9\n/static/libs/raven/raven.js ? in HTMLDocument.wrapped at line 1267:29\n/static/libs/jquery-1.11.0.js ? in fire at line 3099:30\n```\n\nWhich is confusing because link to this file is used as title for error in stream dashboard:\n\n```\nhttp://192.168.1.83:9000/static/libs/raven/raven.js //example of title\n```\n\nWith IE8 situation is worse, because we receive only top stack frame. so for all exceptions we would have something like this stacktrace:\n\n```\nhttp://192.168.1.83:9000/static/libs/raven/raven.js\n```\n\nWhich is useless.\n\nI use raven.js ver. 1.1.15 from dist folder.\nIs this bug or I just don't understand something?\nThanks!\n","author":{"url":"https://github.com/sergunich","@type":"Person","name":"sergunich"},"datePublished":"2014-07-15T12:38:53Z","url":"https://github.com/getsentry/sentry-javascript/issues/227"}
| 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:e8c235e3-da41-c85f-bd04-49f112df08fe |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B55C:265774:1527C98:1BDFA42:6B040C29 |
| html-safe-nonce | e273ee084e0d029a784f24dfcf76a0e59f270b1424d445a92122b3975a2ddef2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNTVDOjI2NTc3NDoxNTI3Qzk4OjFCREZBNDI6NkIwNDBDMjkiLCJ2aXNpdG9yX2lkIjoiNDQzODQ4NzA3MDI2MDA3MTQ2NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 42f1b11afc40cc8a3de2e93de47a4e5a6c0d758a23152ed12f48e1d19685837f |
| hovercard-subject-tag | issue:37878162 |
| 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/227/issue_layout |
| twitter:image | https://opengraph.githubassets.com/fd8943ce6afd15e425a93214a72b3c2d509fbefc41b0c7f4f66dd71f1de6a70d/getsentry/sentry-javascript/issues/227 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/fd8943ce6afd15e425a93214a72b3c2d509fbefc41b0c7f4f66dd71f1de6a70d/getsentry/sentry-javascript/issues/227 |
| og:image:alt | With any applied plugin the source of top stack frame exception is code from raven.js: try { /*jshint -W040*/ return func.apply(this, args); } catch(e) { Raven.captureException(e, options); throw e... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sergunich |
| 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