get-convex / get-convex/workflow

Missing workflow name in error message

Open
#247 11 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
81
Forks
17
Avg merge
1d 3h
Merged PRs (30d)
4

Description

```
[Error: Uncaught Error: Uncaught Error: Event not found: j575y290xt72sagm3na0v3km9h850ebx (undefined) in workflow undefined
at getOrCreateEvent (../../node_modules/@convex-dev/workflow/src/component/event.ts:78:11)
at async handler (../../node_modules/@convex-dev/workflow/src/component/event.ts:116:8)

at async sendEvent [as sendEvent] (../../node_modules/@convex-dev/workflow/src/client/index.ts:404:6)
at async handler (../../convex/workflow_utils/mutations.ts:84:38)
]
```

Becomes impossible to debug because we don't know which workflow this came from, and where in the workflow

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.