Skip to content

Commit

Permalink
Merge branch 'feat/workflow-continue-on-error' into deploy/dev
Browse files Browse the repository at this point in the history
  • Loading branch information
zxhlyh committed Dec 5, 2024
2 parents 0527005 + 56c2265 commit 9269ee5
Showing 1 changed file with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,21 @@ const formatItem = (
}
}

const { error_strategy } = data

if (error_strategy) {
res.vars.push(...[
{
variable: 'error_message',
type: VarType.string,
},
{
variable: 'error_type',
type: VarType.string,
},
])
}

const selector = [id]
res.vars = res.vars.filter((v) => {
const isCurrentMatched = filterVar(v, (() => {
Expand Down

0 comments on commit 9269ee5

Please sign in to comment.