Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

fix(workflows): show continue on error badge when on_error is unset (#121883)

Harley Alexandera07afdc060e5
diff --git a/products/workflows/frontend/Workflows/hogflows/panel/HogFlowEditorPanelBuildDetail.tsx b/products/workflows/frontend/Workflows/hogflows/panel/HogFlowEditorPanelBuildDetail.tsx
index 5fbcd6e70572..c82ef79d98f8 100644
--- a/products/workflows/frontend/Workflows/hogflows/panel/HogFlowEditorPanelBuildDetail.tsx
+++ b/products/workflows/frontend/Workflows/hogflows/panel/HogFlowEditorPanelBuildDetail.tsx
@@ -503,11 +503,11 @@ export function HogFlowEditorPanelBuildDetail(): JSX.Element | null {
<span className="flex-1">Error handling</span>
<LemonTag
size="small"
- type={action.on_error === 'continue' ? 'success' : 'danger'}
+ type={action.on_error === 'abort' ? 'danger' : 'success'}
>
- {action.on_error === 'continue'
- ? 'Continue on error'
- : 'Exit on error'}
+ {action.on_error === 'abort'
+ ? 'Exit on error'
+ : 'Continue on error'}
</LemonTag>
</>
),