Skip to content

Commit

Permalink
silly logs
Browse files Browse the repository at this point in the history
  • Loading branch information
glutamate committed May 24, 2024
1 parent a7c2ade commit 604c6b6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/saltcorn-data/models/trigger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -339,12 +339,16 @@ class Trigger implements AbstractTrigger {
throw new Error(
"Runnable action not found: " + step.step_action_name
);
state.log(
6,
`Multistep step ${i} (step count ${step_count}) action ${step.step_action_name}`
);
const stepres = await action.run({
table,
...runargs,
configuration,
});

state.log(6, `Multistep step result ${JSON.stringify(stepres)}`);
if (stepres?.goto_step) {
i = +stepres.goto_step - 2;
delete stepres.goto_step;
Expand Down

0 comments on commit 604c6b6

Please sign in to comment.