{"action":"created","issue":{"url":"https://api.github.com/repos/getsentry/sentry-javascript/issues/1585","repository_url":"https://api.github.com/repos/getsentry/sentry-javascript","labels_url":"https://api.github.com/repos/getsentry/sentry-javascript/issues/1585/labels{/name}","comments_url":"https://api.github.com/repos/getsentry/sentry-javascript/issues/1585/comments","events_url":"https://api.github.com/repos/getsentry/sentry-javascript/issues/1585/events","html_url":"https://github.com/getsentry/sentry-javascript/issues/1585","id":363636764,"node_id":"MDU6SXNzdWUzNjM2MzY3NjQ=","number":1585,"title":"Unclear stack trace where every item in the trace is related to raven-js","user":{"login":"josephfarina","id":17398284,"node_id":"MDQ6VXNlcjE3Mzk4Mjg0","avatar_url":"https://avatars1.githubusercontent.com/u/17398284?v=4","gravatar_id":"","url":"https://api.github.com/users/josephfarina","html_url":"https://github.com/josephfarina","followers_url":"https://api.github.com/users/josephfarina/followers","following_url":"https://api.github.com/users/josephfarina/following{/other_user}","gists_url":"https://api.github.com/users/josephfarina/gists{/gist_id}","starred_url":"https://api.github.com/users/josephfarina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josephfarina/subscriptions","organizations_url":"https://api.github.com/users/josephfarina/orgs","repos_url":"https://api.github.com/users/josephfarina/repos","events_url":"https://api.github.com/users/josephfarina/events{/privacy}","received_events_url":"https://api.github.com/users/josephfarina/received_events","type":"User","site_admin":false},"labels":[{"id":689185732,"node_id":"MDU6TGFiZWw2ODkxODU3MzI=","url":"https://api.github.com/repos/getsentry/sentry-javascript/labels/Status:%20Needs%20Information","name":"Status: Needs Information","color":"81d2e2","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-09-25T15:28:38Z","updated_at":"2018-09-25T20:50:21Z","closed_at":null,"author_association":"NONE","body":"Hello,\r\n\r\nSorry if this is not the correct repo. I could not find a `raven-js` one and am assuming this is the correct one.\r\n\r\nI have been getting events where the entire stack trace is `raven` related and it is very unclear what the issue is. Is this a bug with raven or is it an issue on my end? I am including one of the event's raw JSON below with some sensitive information replaced with <removed>. \r\n\r\nAny help would be greatly appreciated!\r\n\r\n```\r\n{\r\n  \"id\": \"582cd1ed61c04b538e01a086a025b054\",\r\n  \"project\": 1240221,\r\n  \"release\": null,\r\n  \"dist\": null,\r\n  \"platform\": \"javascript\",\r\n  \"culprit\": \"captureMessage(raven-js/src/raven)\",\r\n  \"message\": \"undefined\",\r\n  \"datetime\": \"2018-09-25T13:03:16.000000Z\",\r\n  \"time_spent\": null,\r\n  \"tags\": [\r\n    [\r\n      \"level\",\r\n      \"error\"\r\n    ],\r\n    [\r\n      \"url\",\r\n      \"<removed>\"\r\n    ],\r\n    [\r\n      \"environment\",\r\n      \"production\"\r\n    ],\r\n    [\r\n      \"sentry:user\",\r\n      \"<removed>\"\r\n    ],\r\n    [\r\n      \"logger\",\r\n      \"javascript\"\r\n    ],\r\n    [\r\n      \"browser.name\",\r\n      \"Chrome\"\r\n    ],\r\n    [\r\n      \"os\",\r\n      \"Mac OS X 10.13.6\"\r\n    ],\r\n    [\r\n      \"os.name\",\r\n      \"Mac OS X\"\r\n    ],\r\n    [\r\n      \"browser\",\r\n      \"Chrome 68.0.3440\"\r\n    ]\r\n  ],\r\n  \"breadcrumbs\": {\r\n    \"values\": [\r\n      {\r\n        \"category\": \"fetch\",\r\n        \"timestamp\": 1537880596.526,\r\n        \"type\": \"http\",\r\n        \"data\": {\r\n          \"url\": \"<removed>\",\r\n          \"status_code\": \"200\",\r\n          \"method\": \"GET\"\r\n        }\r\n      }\r\n    ]\r\n  },\r\n  \"contexts\": {\r\n    \"os\": {\r\n      \"version\": \"10.13.6\",\r\n      \"name\": \"Mac OS X\"\r\n    },\r\n    \"browser\": {\r\n      \"version\": \"68.0.3440\",\r\n      \"name\": \"Chrome\"\r\n    }\r\n  },\r\n  \"errors\": [\r\n    {\r\n      \"type\": \"invalid_attribute\",\r\n      \"name\": \"mechanism\"\r\n    }\r\n  ],\r\n  \"extra\": {\r\n    \"session:duration\": 616\r\n  },\r\n  \"fingerprint\": [\r\n    \"undefined\"\r\n  ],\r\n  \"key_id\": 612911,\r\n  \"logentry\": {\r\n    \"message\": \"undefined\"\r\n  },\r\n  \"metadata\": {\r\n    \"title\": \"undefined\"\r\n  },\r\n  \"received\": 1537880596,\r\n  \"request\": {\r\n    \"url\": \"<removed>\",\r\n    \"headers\": [\r\n      [\r\n        \"Referer\",\r\n        \"<removed>\"\r\n      ],\r\n      [\r\n        \"User-Agent\",\r\n        \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36\"\r\n      ]\r\n    ]\r\n  },\r\n  \"sdk\": {\r\n    \"version\": \"3.26.3\",\r\n    \"name\": \"raven-js\"\r\n  },\r\n  \"stacktrace\": {\r\n    \"frames\": [\r\n      {\r\n        \"function\": \"G._promiseRejectionHandler\",\r\n        \"abs_path\": \"<removed>/node_modules/raven-js/src/raven.js\",\r\n        \"pre_context\": [\r\n          \"   *   reason: the value with which the Promise was rejected\",\r\n          \"   * @return void\",\r\n          \"   */\",\r\n          \"  _promiseRejectionHandler: function(event) {\",\r\n          \"    this._logDebug('debug', 'Raven caught unhandled promise rejection:', event);\"\r\n        ],\r\n        \"post_context\": [\r\n          \"      mechanism: {\",\r\n          \"        type: 'onunhandledrejection',\",\r\n          \"        handled: false\",\r\n          \"      }\",\r\n          \"    });\"\r\n        ],\r\n        \"filename\": \"../node_modules/raven-js/src/raven.js\",\r\n        \"module\": \"raven-js/src/raven\",\r\n        \"colno\": 1,\r\n        \"in_app\": false,\r\n        \"data\": {\r\n          \"sourcemap\": \"<removed>/static/js/main.33e645b8.js.map\"\r\n        },\r\n        \"context_line\": \"    this.captureException(event.reason, {\",\r\n        \"lineno\": 431\r\n      },\r\n      {\r\n        \"function\": \"captureException\",\r\n        \"abs_path\": \"<removed>/static/node_modules/raven-js/src/raven.js\",\r\n        \"pre_context\": [\r\n          \"      // it's not a DOMError/DOMException\",\r\n          \"      // it's not a plain Object\",\r\n          \"      // it's not a valid ErrorEvent (one with an error property)\",\r\n          \"      // it's not an Error\",\r\n          \"      // So bail out and capture it as a simple message:\"\r\n        ],\r\n        \"post_context\": [\r\n          \"        ex,\",\r\n          \"        objectMerge(options, {\",\r\n          \"          stacktrace: true, // if we fall back to captureMessage, default to attempting a new trace\",\r\n          \"          trimHeadFrames: options.trimHeadFrames + 1\",\r\n          \"        })\"\r\n        ],\r\n        \"filename\": \"../node_modules/raven-js/src/raven.js\",\r\n        \"module\": \"raven-js/src/raven\",\r\n        \"colno\": 1,\r\n        \"in_app\": false,\r\n        \"data\": {\r\n          \"sourcemap\": \"<removed>/static/js/main.33e645b8.js.map\"\r\n        },\r\n        \"context_line\": \"      return this.captureMessage(\",\r\n        \"lineno\": 508\r\n      },\r\n      {\r\n        \"function\": \"captureMessage\",\r\n        \"abs_path\": \"<removed>/static/node_modules/raven-js/src/raven.js\",\r\n        \"pre_context\": [\r\n          \"    // Generate a \\\"synthetic\\\" stack trace from this point.\",\r\n          \"    // NOTE: If you are a Sentry user, and you are seeing this stack frame, it is NOT indicative\",\r\n          \"    //       of a bug with Raven.js. Sentry generates synthetic traces either by configuration,\",\r\n          \"    //       or if it catches a thrown object without a \\\"stack\\\" property.\",\r\n          \"    try {\"\r\n        ],\r\n        \"post_context\": [\r\n          \"    } catch (ex1) {\",\r\n          \"      ex = ex1;\",\r\n          \"    }\",\r\n          \"\",\r\n          \"    // null exception name so `Error` isn't prefixed to msg\"\r\n        ],\r\n        \"filename\": \"../node_modules/raven-js/src/raven.js\",\r\n        \"module\": \"raven-js/src/raven\",\r\n        \"colno\": 1,\r\n        \"in_app\": false,\r\n        \"data\": {\r\n          \"sourcemap\": \"<removed>/static/js/main.33e645b8.js.map\"\r\n        },\r\n        \"context_line\": \"      throw new Error(msg);\",\r\n        \"lineno\": 584\r\n      }\r\n    ]\r\n  },\r\n  \"type\": \"default\",\r\n  \"user\": {\r\n    \"ip_address\": \"<removed>\",\r\n    \"id\": \"<removed>\",\r\n    \"email\": \"<removed>\"\r\n  },\r\n  \"version\": \"7\"\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/getsentry/sentry-javascript/issues/comments/424496824","html_url":"https://github.com/getsentry/sentry-javascript/issues/1585#issuecomment-424496824","issue_url":"https://api.github.com/repos/getsentry/sentry-javascript/issues/1585","id":424496824,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNDQ5NjgyNA==","user":{"login":"josephfarina","id":17398284,"node_id":"MDQ6VXNlcjE3Mzk4Mjg0","avatar_url":"https://avatars1.githubusercontent.com/u/17398284?v=4","gravatar_id":"","url":"https://api.github.com/users/josephfarina","html_url":"https://github.com/josephfarina","followers_url":"https://api.github.com/users/josephfarina/followers","following_url":"https://api.github.com/users/josephfarina/following{/other_user}","gists_url":"https://api.github.com/users/josephfarina/gists{/gist_id}","starred_url":"https://api.github.com/users/josephfarina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josephfarina/subscriptions","organizations_url":"https://api.github.com/users/josephfarina/orgs","repos_url":"https://api.github.com/users/josephfarina/repos","events_url":"https://api.github.com/users/josephfarina/events{/privacy}","received_events_url":"https://api.github.com/users/josephfarina/received_events","type":"User","site_admin":false},"created_at":"2018-09-25T20:50:21Z","updated_at":"2018-09-25T20:50:21Z","author_association":"NONE","body":"Ah makes sense, sorry! The actual link is: https://sentry.io/shaybazaar/shaybazaar/issues/700284324/"}}
{"actor":{"display_login":"josephfarina"}}