JavaScript Function Testing with Error Handling

2bb7ceae-c782-4990-aa3f-0e9ff38e622b

Latency
4ms
Cost
$0.0000
Tokens
0
Status
success
gemini-2.5-flash-lite

Workflow Graph

Trace

[
  {
    "data": {
      "nodeType": "manualTrigger"
    },
    "event": "node_start",
    "nodeId": "trigger-a3a1cb65",
    "timestamp": 1780872267053
  },
  {
    "data": {
      "initialData": {
        "map": {
          "body": {
            "message": {
              "text": "What is the current weather in London?"
            }
          }
        }
      }
    },
    "event": "triggered",
    "nodeId": "manualTrigger",
    "timestamp": 1780872267053
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "manualTrigger"
    },
    "event": "node_end",
    "nodeId": "trigger-a3a1cb65",
    "timestamp": 1780872267053
  },
  {
    "data": {
      "nodeType": "code"
    },
    "event": "node_start",
    "nodeId": "acde4709-5dca-4894-80aa-c041f4a858e5",
    "timestamp": 1780872267053
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "code"
    },
    "event": "node_end",
    "nodeId": "acde4709-5dca-4894-80aa-c041f4a858e5",
    "timestamp": 1780872267055
  },
  {
    "data": {
      "nodeType": "code"
    },
    "event": "node_start",
    "nodeId": "7cd01085-4de7-479d-99c1-974df410f456",
    "timestamp": 1780872267055
  },
  {
    "event": "execution error (simulated): items[0].json.map is not a function",
    "nodeId": "code",
    "timestamp": 1780872267056
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "code",
      "latencyMs": 0,
      "operation": "exec-failed",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1780872267056
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "code"
    },
    "event": "node_end",
    "nodeId": "7cd01085-4de7-479d-99c1-974df410f456",
    "timestamp": 1780872267056
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "error-bf6f52d3",
    "timestamp": 1780872267057
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1780872267057
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "error-bf6f52d3",
    "timestamp": 1780872267057
  }
]