4.9 KiB · text History 7ad8440
{
  "contexts": {
    "runtime": {
      "name": "CPython",
      "version": "3.12.1"
    }
  },
  "culprit": "shop/views.py in checkout",
  "dateCreated": "2026-12-03T15:21:03.801538Z",
  "dateReceived": "2026-12-03T15:21:03.801538Z",
  "entries": [
    {
      "data": {
        "values": [
          {
            "mechanism": null,
            "module": null,
            "stacktrace": {
              "frames": [
                {
                  "absPath": null,
                  "colNo": null,
                  "context": [
                    [
                      87,
                      "def checkout():"
                    ],
                    [
                      88,
                      "    raise Boom()"
                    ],
                    [
                      89,
                      ""
                    ]
                  ],
                  "filename": "db/pool.py",
                  "function": "checkout",
                  "inApp": false,
                  "lineNo": 88,
                  "module": null,
                  "package": null
                }
              ]
            },
            "type": "ConnectionError",
            "value": "db went away"
          },
          {
            "mechanism": {
              "handled": false,
              "type": "excepthook"
            },
            "module": null,
            "stacktrace": {
              "frames": [
                {
                  "absPath": null,
                  "colNo": null,
                  "context": [
                    [
                      1819,
                      "def dispatch():"
                    ],
                    [
                      1820,
                      "    raise Boom()"
                    ],
                    [
                      1821,
                      ""
                    ]
                  ],
                  "filename": "flask/app.py",
                  "function": "dispatch",
                  "inApp": false,
                  "lineNo": 1820,
                  "module": null,
                  "package": null
                },
                {
                  "absPath": null,
                  "colNo": null,
                  "context": [
                    [
                      40,
                      "def checkout():"
                    ],
                    [
                      41,
                      "    raise Boom()"
                    ],
                    [
                      42,
                      ""
                    ]
                  ],
                  "filename": "shop/views.py",
                  "function": "checkout",
                  "inApp": true,
                  "lineNo": 41,
                  "module": null,
                  "package": null
                }
              ]
            },
            "type": "CheckoutFailed",
            "value": "could not take payment for order 42"
          }
        ]
      },
      "type": "exception"
    },
    {
      "data": {
        "values": [
          {
            "category": "http",
            "data": {
              "status_code": 200,
              "url": "/cart"
            },
            "level": "info",
            "message": null,
            "timestamp": "2026-11-30T10:00:00Z",
            "type": "default"
          },
          {
            "category": "query",
            "data": null,
            "level": "warning",
            "message": "SELECT * FROM orders WHERE id = 42",
            "timestamp": "2025-11-30T10:00:01.500000Z",
            "type": "default"
          }
        ]
      },
      "type": "breadcrumbs"
    },
    {
      "data": {
        "cookies": [],
        "data": {
          "order": 42
        },
        "env": null,
        "fragment": null,
        "headers": [
          [
            "User-Agent",
            "Mozilla/5.0"
          ]
        ],
        "method": "POST",
        "query": "step=pay",
        "url": "https://shop.example/checkout"
      },
      "type": "request"
    }
  ],
  "environment": "production",
  "eventID": "01a23c7eaa377d99856f7eced6e804f3",
  "groupID": "1",
  "id": "01a23c7e-aac6-7ac7-95b2-9ae46179f9af",
  "level": "error",
  "message": null,
  "platform": "python",
  "projectID": "10744",
  "release": {
    "version": "shop@1.4.2"
  },
  "sdk": null,
  "tags": [
    {
      "key": "browser",
      "value": "Firefox"
    },
    {
      "key": "environment",
      "value": "production"
    },
    {
      "key": "level",
      "value": "error"
    },
    {
      "key": "region",
      "value": "eu-west"
    },
    {
      "key": "release",
      "value": "shop@1.4.2"
    },
    {
      "key": "url",
      "value": "https://shop.example/checkout"
    },
    {
      "key": "user",
      "value": "id:u-2"
    }
  ],
  "title": "CheckoutFailed: could not take payment for order 42",
  "type": "error",
  "user": {
    "email": "u-2@example.test",
    "id": "u-2"
  }
}