Skip to content

Commit 4637c64

Browse files
committed
small fix in debug data for iframe control
1 parent 89078c1 commit 4637c64

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

libs/web-flow-executor/src/nodes/iframe-html-node.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ export const getIFrameHtmlNode = (updated: () => void): NodeTask<NodeInfo> => {
427427
{
428428
propertyName: 'input',
429429
displayName: 'Last input',
430-
type: 'json',
430+
type: 'any',
431431

432432
getData: () => {
433433
try {
@@ -436,8 +436,8 @@ export const getIFrameHtmlNode = (updated: () => void): NodeTask<NodeInfo> => {
436436
? JSON.parse(currentInput)
437437
: currentInput
438438
: { message: 'No input data available' };
439-
} catch (error) {
440-
return { error: 'Parsing current input failed' };
439+
} catch (_error) {
440+
return currentInput;
441441
}
442442
},
443443
},

0 commit comments

Comments
 (0)