snapshot of https://github.com/zulip/zulip.git @ 48c69911c7dd4e03b20552eb3bd77ad8151c1357 (2026-09-15)
Some checks failed
Code scanning / CodeQL (push) Failing after 15s
Zulip production suite / Ubuntu 22.04 production build (push) Failing after 26s
Zulip production suite / Debian 12 production install with custom db name and user (push) Has been skipped
Zulip production suite / Ubuntu 22.04 production install and PostgreSQL upgrade with pgroonga (push) Has been skipped
Zulip production suite / Ubuntu 24.04 production install (push) Has been skipped
Zulip production suite / Ubuntu 26.04 production install (push) Has been skipped
Zulip production suite / Debian 13 production install (push) Has been skipped
Zulip production suite / 7.0 Version Upgrade (push) Has been skipped
Zulip production suite / 8.0 Version Upgrade (push) Has been skipped
Zulip production suite / 6.0 Version Upgrade (push) Has been skipped
Zulip production suite / 10.0 Version Upgrade (push) Has been skipped
Zulip production suite / 9.0 Version Upgrade (push) Has been skipped
Zulip production suite / 12.0 Version Upgrade (push) Has been skipped
Zulip production suite / 11.0 Version Upgrade (push) Has been skipped
GitHub Actions Security Analysis with zizmor / zizmor (push) Failing after 3s
Zulip CI / Debian 12 (Python 3.11, backend + documentation) (push) Failing after 26s
Zulip CI / Ubuntu 22.04 (Python 3.10, backend + frontend) (push) Failing after 3s
Zulip CI / Ubuntu 24.04 (Python 3.12, backend) (push) Failing after 25s
Zulip CI / Ubuntu 26.04 (Python 3.14, backend) (push) Failing after 25s
Zulip CI / Debian 13 (Python 3.13, backend) (push) Failing after 28s
Zulip production suite / Required jobs (push) Has been cancelled
Zulip CI / Required jobs (push) Has been cancelled
API Documentation Update Check / check-feature-level-updated (push) Has been cancelled
API Documentation Update Check / notify-if-api-docs-changed (push) Has been cancelled
Some checks failed
Code scanning / CodeQL (push) Failing after 15s
Zulip production suite / Ubuntu 22.04 production build (push) Failing after 26s
Zulip production suite / Debian 12 production install with custom db name and user (push) Has been skipped
Zulip production suite / Ubuntu 22.04 production install and PostgreSQL upgrade with pgroonga (push) Has been skipped
Zulip production suite / Ubuntu 24.04 production install (push) Has been skipped
Zulip production suite / Ubuntu 26.04 production install (push) Has been skipped
Zulip production suite / Debian 13 production install (push) Has been skipped
Zulip production suite / 7.0 Version Upgrade (push) Has been skipped
Zulip production suite / 8.0 Version Upgrade (push) Has been skipped
Zulip production suite / 6.0 Version Upgrade (push) Has been skipped
Zulip production suite / 10.0 Version Upgrade (push) Has been skipped
Zulip production suite / 9.0 Version Upgrade (push) Has been skipped
Zulip production suite / 12.0 Version Upgrade (push) Has been skipped
Zulip production suite / 11.0 Version Upgrade (push) Has been skipped
GitHub Actions Security Analysis with zizmor / zizmor (push) Failing after 3s
Zulip CI / Debian 12 (Python 3.11, backend + documentation) (push) Failing after 26s
Zulip CI / Ubuntu 22.04 (Python 3.10, backend + frontend) (push) Failing after 3s
Zulip CI / Ubuntu 24.04 (Python 3.12, backend) (push) Failing after 25s
Zulip CI / Ubuntu 26.04 (Python 3.14, backend) (push) Failing after 25s
Zulip CI / Debian 13 (Python 3.13, backend) (push) Failing after 28s
Zulip production suite / Required jobs (push) Has been cancelled
Zulip CI / Required jobs (push) Has been cancelled
API Documentation Update Check / check-feature-level-updated (push) Has been cancelled
API Documentation Update Check / notify-if-api-docs-changed (push) Has been cancelled
This commit is contained in:
422
zerver/webhooks/sentry/fixtures/event_for_exception_node.json
Normal file
422
zerver/webhooks/sentry/fixtures/event_for_exception_node.json
Normal file
@@ -0,0 +1,422 @@
|
||||
{
|
||||
"action": "triggered",
|
||||
"data": {
|
||||
"event": {
|
||||
"event_id": "f9cb0f2afff74a5aa92e766fb7ac3fe3",
|
||||
"project": 5216640,
|
||||
"release": null,
|
||||
"dist": null,
|
||||
"platform": "node",
|
||||
"message": "",
|
||||
"datetime": "2020-04-30T06:19:33.562812Z",
|
||||
"tags": [
|
||||
[
|
||||
"handled",
|
||||
"yes"
|
||||
],
|
||||
[
|
||||
"level",
|
||||
"error"
|
||||
],
|
||||
[
|
||||
"mechanism",
|
||||
"generic"
|
||||
]
|
||||
],
|
||||
"_metrics": {
|
||||
"bytes.ingested.event": 4145,
|
||||
"bytes.stored.event": 7690
|
||||
},
|
||||
"culprit": "null.<anonymous>(trigger-exception)",
|
||||
"errors": [
|
||||
{
|
||||
"url": "/home/hemanth/Desktop/sentry/trigger-exception.js",
|
||||
"type": "js_no_source"
|
||||
}
|
||||
],
|
||||
"exception": {
|
||||
"values": [
|
||||
{
|
||||
"stacktrace": {
|
||||
"frames": [
|
||||
{
|
||||
"function": "Module._load",
|
||||
"abs_path": "module.js",
|
||||
"errors": null,
|
||||
"pre_context": null,
|
||||
"vars": null,
|
||||
"package": null,
|
||||
"context_line": null,
|
||||
"symbol": null,
|
||||
"image_addr": null,
|
||||
"post_context": null,
|
||||
"in_app": false,
|
||||
"symbol_addr": null,
|
||||
"filename": "module.js",
|
||||
"module": "module",
|
||||
"colno": 3,
|
||||
"raw_function": null,
|
||||
"trust": null,
|
||||
"data": null,
|
||||
"platform": null,
|
||||
"instruction_addr": null,
|
||||
"lineno": 497
|
||||
},
|
||||
{
|
||||
"function": "tryModuleLoad",
|
||||
"abs_path": "module.js",
|
||||
"errors": null,
|
||||
"pre_context": null,
|
||||
"vars": null,
|
||||
"package": null,
|
||||
"context_line": null,
|
||||
"symbol": null,
|
||||
"image_addr": null,
|
||||
"post_context": null,
|
||||
"in_app": false,
|
||||
"symbol_addr": null,
|
||||
"filename": "module.js",
|
||||
"module": "module",
|
||||
"colno": 12,
|
||||
"raw_function": null,
|
||||
"trust": null,
|
||||
"data": null,
|
||||
"platform": null,
|
||||
"instruction_addr": null,
|
||||
"lineno": 505
|
||||
},
|
||||
{
|
||||
"function": "Module.load",
|
||||
"abs_path": "module.js",
|
||||
"errors": null,
|
||||
"pre_context": null,
|
||||
"vars": null,
|
||||
"package": null,
|
||||
"context_line": null,
|
||||
"symbol": null,
|
||||
"image_addr": null,
|
||||
"post_context": null,
|
||||
"in_app": false,
|
||||
"symbol_addr": null,
|
||||
"filename": "module.js",
|
||||
"module": "module",
|
||||
"colno": 32,
|
||||
"raw_function": null,
|
||||
"trust": null,
|
||||
"data": null,
|
||||
"platform": null,
|
||||
"instruction_addr": null,
|
||||
"lineno": 565
|
||||
},
|
||||
{
|
||||
"function": "Module._extensions..js",
|
||||
"abs_path": "module.js",
|
||||
"errors": null,
|
||||
"pre_context": null,
|
||||
"vars": null,
|
||||
"package": null,
|
||||
"context_line": null,
|
||||
"symbol": null,
|
||||
"image_addr": null,
|
||||
"post_context": null,
|
||||
"in_app": false,
|
||||
"symbol_addr": null,
|
||||
"filename": "module.js",
|
||||
"module": "module",
|
||||
"colno": 10,
|
||||
"raw_function": null,
|
||||
"trust": null,
|
||||
"data": null,
|
||||
"platform": null,
|
||||
"instruction_addr": null,
|
||||
"lineno": 663
|
||||
},
|
||||
{
|
||||
"function": "Module._compile",
|
||||
"abs_path": "module.js",
|
||||
"errors": null,
|
||||
"pre_context": null,
|
||||
"vars": null,
|
||||
"package": null,
|
||||
"context_line": null,
|
||||
"symbol": null,
|
||||
"image_addr": null,
|
||||
"post_context": null,
|
||||
"in_app": false,
|
||||
"symbol_addr": null,
|
||||
"filename": "module.js",
|
||||
"module": "module",
|
||||
"colno": 30,
|
||||
"raw_function": null,
|
||||
"trust": null,
|
||||
"data": null,
|
||||
"platform": null,
|
||||
"instruction_addr": null,
|
||||
"lineno": 652
|
||||
},
|
||||
{
|
||||
"function": "Object.<anonymous>",
|
||||
"abs_path": "/home/hemanth/Desktop/sentry/trigger-exception.js",
|
||||
"errors": null,
|
||||
"pre_context": [
|
||||
"const Sentry = require('@sentry/node');",
|
||||
"",
|
||||
"Sentry.init({",
|
||||
" dsn: 'https://redacted.ingest.sentry.io/5216640',",
|
||||
"});",
|
||||
""
|
||||
],
|
||||
"post_context": [
|
||||
" scope.addEventProcessor(function(event, hint) {",
|
||||
" return event;",
|
||||
" });",
|
||||
" Sentry.captureException(new Error('Sample error from node.'));",
|
||||
"});",
|
||||
"",
|
||||
""
|
||||
],
|
||||
"vars": null,
|
||||
"package": null,
|
||||
"context_line": "Sentry.withScope(function(scope) {",
|
||||
"symbol": null,
|
||||
"image_addr": null,
|
||||
"module": "trigger-exception",
|
||||
"in_app": true,
|
||||
"symbol_addr": null,
|
||||
"filename": "/home/hemanth/Desktop/sentry/trigger-exception.js",
|
||||
"lineno": 7,
|
||||
"colno": 8,
|
||||
"trust": null,
|
||||
"data": null,
|
||||
"platform": null,
|
||||
"instruction_addr": null,
|
||||
"raw_function": null
|
||||
},
|
||||
{
|
||||
"function": "Object.withScope",
|
||||
"abs_path": "/home/hemanth/Desktop/sentry/node_modules/@sentry/minimal/dist/index.js",
|
||||
"errors": null,
|
||||
"pre_context": [
|
||||
" * pushScope();",
|
||||
" * callback();",
|
||||
" * popScope();",
|
||||
" *",
|
||||
" * @param callback that will be enclosed into push/popScope.",
|
||||
" */",
|
||||
"function withScope(callback) {"
|
||||
],
|
||||
"post_context": [
|
||||
"}",
|
||||
"exports.withScope = withScope;",
|
||||
"/**",
|
||||
" * Calls a function on the latest client. Use this with caution, it's meant as",
|
||||
" * in \"internal\" helper so we don't need to expose every possible function in",
|
||||
" * the shim. It is not guaranteed that the client actually implements the",
|
||||
" * function."
|
||||
],
|
||||
"vars": null,
|
||||
"package": null,
|
||||
"context_line": " callOnHub('withScope', callback);",
|
||||
"symbol": null,
|
||||
"image_addr": null,
|
||||
"module": "@sentry.minimal.dist:index",
|
||||
"in_app": false,
|
||||
"symbol_addr": null,
|
||||
"filename": "/home/hemanth/Desktop/sentry/node_modules/@sentry/minimal/dist/index.js",
|
||||
"lineno": 158,
|
||||
"colno": 5,
|
||||
"trust": null,
|
||||
"data": null,
|
||||
"platform": null,
|
||||
"instruction_addr": null,
|
||||
"raw_function": null
|
||||
},
|
||||
{
|
||||
"function": "callOnHub",
|
||||
"abs_path": "/home/hemanth/Desktop/sentry/node_modules/@sentry/minimal/dist/index.js",
|
||||
"errors": null,
|
||||
"pre_context": [
|
||||
" var args = [];",
|
||||
" for (var _i = 1; _i < arguments.length; _i++) {",
|
||||
" args[_i - 1] = arguments[_i];",
|
||||
" }",
|
||||
" var hub = hub_1.getCurrentHub();",
|
||||
" if (hub && hub[method]) {",
|
||||
" // tslint:disable-next-line:no-unsafe-any"
|
||||
],
|
||||
"post_context": [
|
||||
" }",
|
||||
" throw new Error(\"No hub defined or \" + method + \" was not found on the hub, please open a bug report.\");",
|
||||
"}",
|
||||
"/**",
|
||||
" * Captures an exception event and sends it to Sentry.",
|
||||
" *",
|
||||
" * @param exception An exception-like object."
|
||||
],
|
||||
"vars": null,
|
||||
"package": null,
|
||||
"context_line": " return hub[method].apply(hub, tslib_1.__spread(args));",
|
||||
"symbol": null,
|
||||
"image_addr": null,
|
||||
"module": "@sentry.minimal.dist:index",
|
||||
"in_app": false,
|
||||
"symbol_addr": null,
|
||||
"filename": "/home/hemanth/Desktop/sentry/node_modules/@sentry/minimal/dist/index.js",
|
||||
"lineno": 17,
|
||||
"colno": 28,
|
||||
"trust": null,
|
||||
"data": null,
|
||||
"platform": null,
|
||||
"instruction_addr": null,
|
||||
"raw_function": null
|
||||
},
|
||||
{
|
||||
"function": "Hub.withScope",
|
||||
"abs_path": "/home/hemanth/Desktop/sentry/node_modules/@sentry/hub/dist/hub.js",
|
||||
"errors": null,
|
||||
"pre_context": [
|
||||
" };",
|
||||
" /**",
|
||||
" * @inheritDoc",
|
||||
" */",
|
||||
" Hub.prototype.withScope = function (callback) {",
|
||||
" var scope = this.pushScope();",
|
||||
" try {"
|
||||
],
|
||||
"post_context": [
|
||||
" }",
|
||||
" finally {",
|
||||
" this.popScope();",
|
||||
" }",
|
||||
" };",
|
||||
" /**",
|
||||
" * @inheritDoc"
|
||||
],
|
||||
"vars": null,
|
||||
"package": null,
|
||||
"context_line": " callback(scope);",
|
||||
"symbol": null,
|
||||
"image_addr": null,
|
||||
"module": "@sentry.hub.dist:hub",
|
||||
"in_app": false,
|
||||
"symbol_addr": null,
|
||||
"filename": "/home/hemanth/Desktop/sentry/node_modules/@sentry/hub/dist/hub.js",
|
||||
"lineno": 103,
|
||||
"colno": 13,
|
||||
"trust": null,
|
||||
"data": null,
|
||||
"platform": null,
|
||||
"instruction_addr": null,
|
||||
"raw_function": null
|
||||
},
|
||||
{
|
||||
"function": "null.<anonymous>",
|
||||
"abs_path": "/home/hemanth/Desktop/sentry/trigger-exception.js",
|
||||
"errors": null,
|
||||
"pre_context": [
|
||||
" dsn: 'https://redacted.ingest.sentry.io/5216640',",
|
||||
"});",
|
||||
"",
|
||||
"Sentry.withScope(function(scope) {",
|
||||
" scope.addEventProcessor(function(event, hint) {",
|
||||
" return event;",
|
||||
" });"
|
||||
],
|
||||
"post_context": [
|
||||
"});",
|
||||
"",
|
||||
""
|
||||
],
|
||||
"vars": null,
|
||||
"package": null,
|
||||
"context_line": " Sentry.captureException(new Error('Sample error from node.'));",
|
||||
"symbol": null,
|
||||
"image_addr": null,
|
||||
"module": "trigger-exception",
|
||||
"in_app": true,
|
||||
"symbol_addr": null,
|
||||
"filename": "/home/hemanth/Desktop/sentry/trigger-exception.js",
|
||||
"lineno": 11,
|
||||
"colno": 27,
|
||||
"trust": null,
|
||||
"data": null,
|
||||
"platform": null,
|
||||
"instruction_addr": null,
|
||||
"raw_function": null
|
||||
}
|
||||
]
|
||||
},
|
||||
"type": "Error",
|
||||
"mechanism": {
|
||||
"synthetic": null,
|
||||
"help_link": null,
|
||||
"type": "generic",
|
||||
"meta": null,
|
||||
"handled": true,
|
||||
"data": null,
|
||||
"description": null
|
||||
},
|
||||
"value": "Sample error from node."
|
||||
}
|
||||
]
|
||||
},
|
||||
"fingerprint": [
|
||||
"{{ default }}"
|
||||
],
|
||||
"grouping_config": {
|
||||
"enhancements": "eJybzDhxY3J-bm5-npWRgaGlroGxrpHxBABcTQcY",
|
||||
"id": "newstyle:2019-10-29"
|
||||
},
|
||||
"hashes": [
|
||||
"0f8707d55b9a07f1d98f7f411ae91921",
|
||||
"2b51fa6978fa72e1a400507643d03846"
|
||||
],
|
||||
"key_id": "1146336",
|
||||
"level": "error",
|
||||
"location": "/home/hemanth/Desktop/sentry/trigger-exception.js",
|
||||
"logger": "",
|
||||
"metadata": {
|
||||
"function": "null.<anonymous>",
|
||||
"type": "Error",
|
||||
"value": "Sample error from node.",
|
||||
"filename": "/home/hemanth/Desktop/sentry/trigger-exception.js"
|
||||
},
|
||||
"received": 1588227573.562812,
|
||||
"sdk": {
|
||||
"version": "5.15.5",
|
||||
"name": "sentry.javascript.node",
|
||||
"packages": [
|
||||
{
|
||||
"version": "5.15.5",
|
||||
"name": "npm:@sentry/node"
|
||||
}
|
||||
],
|
||||
"integrations": [
|
||||
"InboundFilters",
|
||||
"FunctionToString",
|
||||
"Console",
|
||||
"Http",
|
||||
"OnUncaughtException",
|
||||
"OnUnhandledRejection",
|
||||
"LinkedErrors"
|
||||
]
|
||||
},
|
||||
"timestamp": 1588227573.562812,
|
||||
"title": "Error: Sample error from node.",
|
||||
"type": "error",
|
||||
"version": "7",
|
||||
"url": "https://sentry.io/api/0/projects/hypro999-personal-organization/zulip-integration-testing/events/f9cb0f2afff74a5aa92e766fb7ac3fe3/",
|
||||
"web_url": "https://sentry.io/organizations/hypro999-personal-organization/issues/1638852747/events/f9cb0f2afff74a5aa92e766fb7ac3fe3/",
|
||||
"issue_url": "https://sentry.io/api/0/issues/1638852747/"
|
||||
},
|
||||
"triggered_rule": "Send a webhook payload to Webhook.site"
|
||||
},
|
||||
"installation": {
|
||||
"uuid": "65027794-169a-4042-80d0-808ece377141"
|
||||
},
|
||||
"actor": {
|
||||
"type": "application",
|
||||
"id": "sentry",
|
||||
"name": "Sentry"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user