summaryrefslogtreecommitdiff
path: root/tests/specs/cli/otel_basic/uncaught.out
blob: a5a886bfeb8b0141f0bc73996408cee870385b01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
error: Uncaught (in promise) Error: uncaught
throw new Error("uncaught");
      ^
    at file:///[WILDCARD]/tests/specs/cli/otel_basic/uncaught.ts:2:7
{
  "spans": [],
  "logs": [
    {
      "timeUnixNano": "0",
      "observedTimeUnixNano": "[WILDCARD]",
      "severityNumber": 9,
      "severityText": "INFO",
      "body": {
        "stringValue": "log 1\n"
      },
      "attributes": [],
      "droppedAttributesCount": 0,
      "flags": 0,
      "traceId": "",
      "spanId": ""
    },
    {
      "timeUnixNano": "0",
      "observedTimeUnixNano": "[WILDCARD]",
      "severityNumber": 17,
      "severityText": "ERROR",
      "body": {
        "stringValue": "error: Uncaught (in promise) Error: uncaught\nthrow new Error(\"uncaught\");\n      ^\n    at file:///[WILDCARD]/tests/specs/cli/otel_basic/uncaught.ts:2:7"
      },
      "attributes": [],
      "droppedAttributesCount": 0,
      "flags": 0,
      "traceId": "",
      "spanId": ""
    }
  ]
}