mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
Fix applyOptionsData errors not appearing in the flow log (#25025)
* dont skip logs for `applyOptionsData` errors * add changeset * Update api/src/flows.ts Co-authored-by: ian <licitdev@gmail.com> * Update api/src/flows.ts Co-authored-by: ian <licitdev@gmail.com> --------- Co-authored-by: ian <licitdev@gmail.com>
This commit is contained in:
5
.changeset/all-olives-bake.md
Normal file
5
.changeset/all-olives-bake.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@directus/api': patch
|
||||
---
|
||||
|
||||
Fixed `applyOptionsData` errors not appearing in the flow log
|
||||
@@ -430,9 +430,11 @@ class FlowManager {
|
||||
|
||||
const handler = this.operations.get(operation.type)!;
|
||||
|
||||
const options = applyOptionsData(operation.options, keyedData);
|
||||
let options = operation.options;
|
||||
|
||||
try {
|
||||
options = applyOptionsData(options, keyedData);
|
||||
|
||||
let result = await handler(options, {
|
||||
services,
|
||||
env: useEnv(),
|
||||
|
||||
Reference in New Issue
Block a user