PieterP
Convex Community10mo ago
1 reply
Pieter

Cant see logs of actions called inside my workflow

When I start a workflow, I see all the logs in the function definition. But when I call queries or mutations from the workflow I dont see the logs. This makes it very hard to debug when writing code.

workflow.define({
  handler: async (ctx) => {
    console.log("hey, ..."); // this log I can see

    // the console log inside this query function does not show up
    await ctx.runQuery(...)
  },
});
Was this page helpful?